nixpkgs/pkgs/development/tools
Philip Potter 76dd430cd8 bazel: fix build, make compatible with openjdk
Bazel 981b7bc1 depends on protobuf-2.5 and won't work with 2.6 (and in
bbe84fe3d upgraded straight to protobuf 3.0.0-alpha3); this commit fixes
the dependency to depend on protobuf2_5 specifically.

The bazel compile.sh needs `which` on the PATH; so this commit adds that
as a dependency.

Setting JAVA_HOME to ${jdk} broke bazel when used with openjdk, with the
message:

    Problem with java installation: couldn't find/access rt.jar in /nix/store/z9vc0vzyzhnpl5l5inmqdnvdnbxmmmg7-openjdk-8u60b24

This is because if you set JAVA_HOME, bazel will look for rt.jar in
$JAVA_HOME/lib and $JAVA_HOME/jre/lib, but the nixpkgs openjdk
distribution puts rt.jar in ${jdk}/lib/openjdk/jre/lib for some reason.

To fix this, this commit uses the ${jdk.home} passthru value to use the
appropriate JAVA_HOME for the given jdk.

As bazel now works with openjdk, and openjdk is free while oraclejdk is
not, this commit changes the default jdk for bazel to openjdk.

Since this package didn't have a listed maintainer, I'm claiming it.
2015-07-28 20:38:44 +01:00
..
activator activator: 1.3.2 -> 1.3.5 2015-07-10 00:23:48 +02:00
alloy
analysis flow: 0.1.0 -> 0.13.1 2015-07-27 12:00:54 +02:00
apktool apktool: set sourceRoot 2015-07-28 02:55:55 +02:00
boomerang
boost-build
build-managers bazel: fix build, make compatible with openjdk 2015-07-28 20:38:44 +01:00
casperjs
cdecl
chefdk chefdk: fix build 2015-07-04 00:39:44 +02:00
compass Add compass, stylesheet authoring environment 2015-07-07 12:11:58 +02:00
continuous-integration
database sqlitebrowser: init at 3.7.0 2015-07-13 22:11:30 +02:00
documentation
egg2nix
electron electron: Added myself as maintainer. 2015-06-20 12:43:10 -06:00
etcdctl
exercism
gnulib
gocode
godep
goimports fix goimports build, use buildGoPackage 2015-06-02 11:59:40 -06:00
golint
gotags
grabserial
guile g-wrap: 1.9.13 -> 1.9.15 2015-07-23 04:13:03 -05:00
haskell ihaskell-wrapper: avoid use of /bin/sh 2015-06-12 10:50:40 +02:00
heroku
java
jq
libsigrok
libsigrokdecode
literate-programming/noweb
misc Merge branch 'staging' 2015-07-24 15:12:28 +02:00
neoload
node-webkit
ocaml ocp-index: 1.1.1 -> 1.1.2 2015-07-01 20:23:19 +02:00
omniorb omniorb: add the expression 2015-07-23 20:42:35 +02:00
packer
parsing remove gcc49 overrides from various places 2015-07-23 11:53:18 +02:00
phantomjs
profiling oprofile: update from 0.9.9 to 1.0.0 (ZHF) 2015-07-09 13:18:21 +02:00
pydb
quilt
rucksack rucksack: init at 3.1.0 2015-06-20 02:06:20 -07:00
rust/racer
sassc sassc: 3.2.1 -> 3.2.4 2015-06-01 01:28:18 -04:00
sauce-connect
selenium
sigrok-cli
slimerjs Update SlimerJS 2015-06-14 11:21:36 +03:00
sqsh
thrust
toluapp
tradcpp
vagrant Vagrant: 1.7.3 -> 1.7.4 (ZHF) 2015-07-21 19:08:15 +03:00
watchman
winpdb
yuicompressor