Reapply "srcOnly: reflink if possible and preserve attributes"

This reverts commit 610ee378fc.

Reason for reapply: The change was alright, just went to the wrong
branch.
This commit is contained in:
sternenseemann 2024-05-27 11:51:42 +02:00
parent 9291c0d452
commit affa8f75ec

View File

@ -13,7 +13,7 @@ let
in
stdenv.mkDerivation (args // {
name = "${name}-source";
installPhase = "cp -r . $out";
installPhase = "cp -pr --reflink=auto -- . $out";
outputs = [ "out" ];
separateDebugInfo = false;
dontUnpack = false;