1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-22 19:19:45 +01:00

treewide: use non-deprecated substitute arguments

This commit is contained in:
Robert Helgesson 2024-09-11 18:16:19 +02:00
parent 8a16716428
commit 51e4664342
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ in {
substitute \
${hmOptionsDocs.optionsJSON}/nix-support/hydra-build-products \
$out/nix-support/hydra-build-products \
--replace \
--replace-fail \
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
"$out/share/doc/home-manager"
'';

View file

@ -56,7 +56,7 @@ in {
buildCommand = lib.concatStringsSep "\n" [
prevAttrs.buildCommand
# TODO: why is this needed? Is there a better way to retain escape sequences?
"substituteInPlace $out --replace '\\\\' '\\'"
"substituteInPlace $out --replace-quiet '\\\\' '\\'"
];
});
};