bazel_4: dont propagate absl-py (#153779)
otherwise bazel pollutes PYTHONPATH and if it's just necessary to generate the fish completion then we dont need to propagate it
This commit is contained in:
parent
06c274d7de
commit
c1220ff9b0
@ -536,6 +536,7 @@ stdenv.mkDerivation rec {
|
||||
unzip
|
||||
which
|
||||
zip
|
||||
python3.pkgs.absl-py # Needed to build fish completion
|
||||
] ++ lib.optionals (stdenv.isDarwin) [ cctools libcxx CoreFoundation CoreServices Foundation ];
|
||||
|
||||
# Bazel makes extensive use of symlinks in the WORKSPACE.
|
||||
@ -549,8 +550,6 @@ stdenv.mkDerivation rec {
|
||||
shopt -s dotglob extglob
|
||||
mv !(bazel_src) bazel_src
|
||||
'';
|
||||
# Needed to build fish completion
|
||||
propagatedBuildInputs = [ python3.pkgs.absl-py ];
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user