Unverified Commit db098f03 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

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

parents 02821c6a e23b1eba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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