nixpkgs/pkgs/development
Andreas Herrmann f426173e30 bazel: Fix python stub template
The shebang in the python stub template was incorrectly patched to
```
<store-path>/bin/env python
```
instead of
```
<store-path>/bin/python
```

The reason was that `patchShebangs` was called with `--replace` which is
an unknown argument.
```
patching script interpreter paths in src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt --replace /usr/bin/env python /nix/store/w7gsq8v86hni4ynaqgwwlnlny115ylng-python3-3.7.4/bin/python
find: unknown predicate `--replace'
```

Using `substituteInPlace` instead resolves that issue.

The wrong shebang caused failures of `py_binary` targets due to `python`
not being in `PATH` in certain circumstances.
2019-08-16 18:55:45 +02:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
compilers Merge pull request #66681 from basvandijk/init-rust-clippy 2019-08-16 14:07:17 +02:00
coq-modules coqPackages.interval: 3.4.0 -> 3.4.1 2019-08-12 09:05:16 +00:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules
go-packages
guile-modules
haskell-modules hackage-packages.nix: automatic Haskell package set update 2019-08-15 16:05:10 +02:00
idris-modules
interpreters erlang: Fix build error on darwin 2019-08-14 15:56:29 -07:00
java-modules
libraries libgphoto2: 2.5.17 -> 2.5.23 2019-08-16 16:55:00 +09:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules ocamlPackages.mmap: init at 1.1.0 2019-08-16 06:28:28 +00:00
perl-modules
pharo
pure-modules
python-modules Merge pull request #64054 from ivan/snscrape-0.3.0 2019-08-16 10:46:39 -04:00
r-modules
ruby-modules
tools bazel: Fix python stub template 2019-08-16 18:55:45 +02:00
web