matrix-authentication-service: use substituteInPlace
--replace-fail, substituteInPlace --replace is deprecated
This commit is contained in:
parent
29cf5a6887
commit
733428167d
@ -63,13 +63,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace crates/config/src/sections/http.rs \
|
||||
--replace ./frontend/dist/ "$out/share/$pname/assets/"
|
||||
--replace-fail ./frontend/dist/ "$out/share/$pname/assets/"
|
||||
substituteInPlace crates/config/src/sections/templates.rs \
|
||||
--replace ./share/templates/ "$out/share/$pname/templates/" \
|
||||
--replace ./share/translations/ "$out/share/$pname/translations/" \
|
||||
--replace ./share/manifest.json "$out/share/$pname/assets/manifest.json"
|
||||
--replace-fail ./share/templates/ "$out/share/$pname/templates/" \
|
||||
--replace-fail ./share/translations/ "$out/share/$pname/translations/" \
|
||||
--replace-fail ./share/manifest.json "$out/share/$pname/assets/manifest.json"
|
||||
substituteInPlace crates/config/src/sections/policy.rs \
|
||||
--replace ./share/policy.wasm "$out/share/$pname/policy.wasm"
|
||||
--replace-fail ./share/policy.wasm "$out/share/$pname/policy.wasm"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user