Skip to content

Commit

Permalink
unpackPhase: Handle sources starting with a hyphen
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Jan 25, 2018
1 parent bf87e56 commit f83b6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/stdenv/generic/setup.sh
Expand Up @@ -769,7 +769,7 @@ _defaultUnpack() {
# We can't preserve hardlinks because they may have been
# introduced by store optimization, which might break things
# in the build.
cp -pr --reflink=auto "$fn" "$(stripHash "$fn")"
cp -pr --reflink=auto -- "$fn" "$(stripHash "$fn")"

else

Expand Down

0 comments on commit f83b6e1

Please sign in to comment.