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
commit db098f03e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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