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:
parent
8a16716428
commit
51e4664342
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
'';
|
||||
|
|
|
@ -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 '\\\\' '\\'"
|
||||
];
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue