Merge pull request #236368 from SuperSandro2000/etc-dir-names
nixos/etc: keep directories in derivation name
This commit is contained in:
commit
07fd6694b5
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ in
|
|||
config = {
|
||||
target = mkDefault name;
|
||||
source = mkIf (config.text != null) (
|
||||
let name' = "etc-" + baseNameOf name;
|
||||
let name' = "etc-" + lib.replaceStrings ["/"] ["-"] name;
|
||||
in mkDerivedConfig options.text (pkgs.writeText name')
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue