pkgs/bazel*: Fix path to update-srcDeps.py

Otherwise, the -small channel fails on the tarball output.

(cherry picked from commit 0723bf3b72)
This commit is contained in:
Janne Heß 2020-03-02 13:11:14 +01:00 committed by John Ericson
parent 3fab55793d
commit cfe8e0e1ad
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell}
cat ${runCommand "bazel-deps.json" {} ''
${unzip}/bin/unzip ${src} WORKSPACE
${python3}/bin/python3 ${./update-srcDeps.py} ./WORKSPACE > $out
${python3}/bin/python3 ${../update-srcDeps.py} ./WORKSPACE > $out
''} > ${builtins.toString ./src-deps.json}
'';

View File

@ -290,7 +290,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell}
cat ${runCommand "bazel-deps.json" {} ''
${unzip}/bin/unzip ${src} WORKSPACE
${python3}/bin/python3 ${./update-srcDeps.py} ./WORKSPACE > $out
${python3}/bin/python3 ${../update-srcDeps.py} ./WORKSPACE > $out
''} > ${builtins.toString ./src-deps.json}
'';