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-25 11:27:15 -04:00
committed by John Ericson
parent 3fab55793d
commit cfe8e0e1ad
2 changed files with 2 additions and 2 deletions
@@ -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}
'';
@@ -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}
'';