mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
treewide: use non-deprecated substitute arguments
This commit is contained in:
parent
8a16716428
commit
51e4664342
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ in {
|
||||||
substitute \
|
substitute \
|
||||||
${hmOptionsDocs.optionsJSON}/nix-support/hydra-build-products \
|
${hmOptionsDocs.optionsJSON}/nix-support/hydra-build-products \
|
||||||
$out/nix-support/hydra-build-products \
|
$out/nix-support/hydra-build-products \
|
||||||
--replace \
|
--replace-fail \
|
||||||
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
|
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
|
||||||
"$out/share/doc/home-manager"
|
"$out/share/doc/home-manager"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -56,7 +56,7 @@ in {
|
||||||
buildCommand = lib.concatStringsSep "\n" [
|
buildCommand = lib.concatStringsSep "\n" [
|
||||||
prevAttrs.buildCommand
|
prevAttrs.buildCommand
|
||||||
# TODO: why is this needed? Is there a better way to retain escape sequences?
|
# TODO: why is this needed? Is there a better way to retain escape sequences?
|
||||||
"substituteInPlace $out --replace '\\\\' '\\'"
|
"substituteInPlace $out --replace-quiet '\\\\' '\\'"
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue