mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
go-modules: This patch fixes an error with copying sources during installPhase if src of go module conatins file with spaces
This commit is contained in:
parent
1dab05033f
commit
f0269dd8b0
|
@ -138,7 +138,7 @@ go.stdenv.mkDerivation (
|
|||
while read f; do
|
||||
echo "$f" | grep -q '^./\(src\|pkg/[^/]*\)/${goPackagePath}' || continue
|
||||
mkdir -p "$(dirname "$out/share/go/$f")"
|
||||
cp $NIX_BUILD_TOP/go/$f $out/share/go/$f
|
||||
cp "$NIX_BUILD_TOP/go/$f" "$out/share/go/$f"
|
||||
done < <(find . -type f)
|
||||
popd
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue