stdenv: remove --preserve=mode from cp in defaultUnpack (#413959)

This commit is contained in:
Philip Taron
2025-06-04 22:02:47 -07:00
committed by GitHub
+1 -1
View File
@@ -1260,7 +1260,7 @@ _defaultUnpack() {
# We can't preserve hardlinks because they may have been
# introduced by store optimization, which might break things
# in the build.
cp -r --preserve=mode,timestamps --reflink=auto -- "$fn" "$destination"
cp -r --preserve=timestamps --reflink=auto -- "$fn" "$destination"
else