better fix for recent nix versions

This commit is contained in:
Your Name 2022-06-16 13:11:41 +02:00
parent f868637417
commit dd18c6753a

View file

@ -9,6 +9,6 @@ in
lib.concatStringsSep "\n" ([ lib.concatStringsSep "\n" ([
"mkdir $out" "mkdir $out"
] ]
++ lib.mapAttrsToList (name: source: "ln -s ${source.outPath} $out/${name}") sources ++ lib.mapAttrsToList (name: source: "cp -r --reflink=auto ${source.outPath} $out/${name}") sources
) )
) )