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
|
while read f; do
|
||||||
echo "$f" | grep -q '^./\(src\|pkg/[^/]*\)/${goPackagePath}' || continue
|
echo "$f" | grep -q '^./\(src\|pkg/[^/]*\)/${goPackagePath}' || continue
|
||||||
mkdir -p "$(dirname "$out/share/go/$f")"
|
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)
|
done < <(find . -type f)
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user