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

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

(cherry picked from commit 0723bf3b72)
wip/yesman
Janne Heß 4 years ago committed by John Ericson
parent 3fab55793d
commit cfe8e0e1ad
  1. 2
      pkgs/development/tools/build-managers/bazel/bazel-latest/default.nix
  2. 2
      pkgs/development/tools/build-managers/bazel/bazel_1/default.nix

@ -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}
'';

Loading…
Cancel
Save