Merge pull request #9086 from Bevaz/go-modules-install-fix-staging
go-modules: Fix copy of go modules src
This commit is contained in:
commit
f6f8c402ca
@ -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…
x
Reference in New Issue
Block a user