diff options
author | Shea Levy <shea@shealevy.com> | 2018-01-24 21:58:57 -0800 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-01-24 21:58:57 -0800 |
commit | f83b6e1130e3193dd9480ca5d60b764870de9d3f (patch) | |
tree | 2365141b4054b93afe863e93fce5f6a708b47b40 /pkgs/stdenv/generic/setup.sh | |
parent | bf87e56cda1dc0a032fa75cf235cff3e36f64e09 (diff) |
unpackPhase: Handle sources starting with a hyphen
Diffstat (limited to 'pkgs/stdenv/generic/setup.sh')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index dbbe45e45f3f..e4a77af199b9 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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 |