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
1 changed files with 1 additions and 1 deletions
|
@ -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