mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03: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 New Issue
Block a user