1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 08:28:30 +02:00

home-environment: handle no home files

If no files should be installed into the home directory then an error
would occur since the directory holding the files would never be
created. With this change the directory is unconditionally created.
This commit is contained in:
Robert Helgesson 2017-01-17 22:12:51 +01:00
parent d7a70c87cd
commit 86217419e7
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -319,6 +319,7 @@ in
phases = [ "installPhase" ];
installPhase =
"mkdir -pv $out\n" +
concatStringsSep "\n" (
mapAttrsToList (name: value:
"install -v -D -m${value.mode} ${value.source} $out/${value.target}"