google-cloud-sdk: Fix calls to itself
This commit is contained in:
parent
b6fabe24fd
commit
b1a6442c24
@ -37,10 +37,13 @@ stdenv.mkDerivation rec {
|
|||||||
# create wrappers with correct env
|
# create wrappers with correct env
|
||||||
for program in gcloud bq gsutil git-credential-gcloud.sh; do
|
for program in gcloud bq gsutil git-credential-gcloud.sh; do
|
||||||
programPath="$out/google-cloud-sdk/bin/$program"
|
programPath="$out/google-cloud-sdk/bin/$program"
|
||||||
wrapper="$out/bin/$program"
|
binaryPath="$out/bin/$program"
|
||||||
makeWrapper "$programPath" "$wrapper" \
|
wrapProgram "$programPath" \
|
||||||
--set CLOUDSDK_PYTHON "${python27}/bin/python" \
|
--set CLOUDSDK_PYTHON "${python27}/bin/python" \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath ${cffi}):$(toPythonPath ${cryptography}):$(toPythonPath ${pyopenssl}):$(toPythonPath ${crcmod})"
|
--prefix PYTHONPATH : "$(toPythonPath ${cffi}):$(toPythonPath ${cryptography}):$(toPythonPath ${pyopenssl}):$(toPythonPath ${crcmod})"
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s $programPath $binaryPath
|
||||||
done
|
done
|
||||||
|
|
||||||
# install man pages
|
# install man pages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user