Merge pull request #75 from adisbladis/no-ln-cp

Copy vendor directory instead of symlinking to them
This commit is contained in:
adisbladis 2022-08-24 12:20:48 +12:00 committed by GitHub
commit 8054136f81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ let
cp ${pwd + "/go.sum"} source/go.sum
cp ${pwd + "/tools.go"} source/tools.go
cd source
ln -s ${vendorEnv} vendor
cp -r ${vendorEnv} vendor
${internal.install}
'';
@ -266,7 +266,7 @@ let
cd "$modRoot"
if [ -n "${vendorEnv}" ]; then
rm -rf vendor
ln -s ${vendorEnv} vendor
cp -r ${vendorEnv} vendor
fi
runHook postConfigure