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 Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
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 New package: jenkins-job-builder 2015-05-03 10:58:17 -07:00
database sqlitebrowser: init at 3.7.0 2015-07-13 22:11:30 +02:00
documentation gtk-doc: update from 1.23 to 1.24 2015-05-30 13:48:53 +02:00
egg2nix Egg2nix: Bump to 0.5. 2015-01-19 15:43:25 +01:00
electron electron: Added myself as maintainer. 2015-06-20 12:43:10 -06:00
etcdctl Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
exercism Exercism: update to 1.9.2 2015-02-05 11:54:19 +01:00
gnulib gnulib: update Git repository snapshot 2015-02-09 12:58:19 +01:00
gocode Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
godep Add godep, dependency tool for go 2015-01-28 16:02:46 +01:00
goimports fix goimports build, use buildGoPackage 2015-06-02 11:59:40 -06:00
golint Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
gotags Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
grabserial grabserial: add package 2015-01-22 20:58:30 +01:00
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 Update heroku toolbelt to 3.32.0 2015-05-26 13:06:34 +02:00
java Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
jq
libsigrok
libsigrokdecode
literate-programming/noweb
misc Merge branch 'staging' 2015-07-24 15:12:28 +02:00
neoload
node-webkit Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae' 2015-02-02 21:14:28 -05:00
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 Update Packer to 0.7.5 2015-02-02 23:55:17 -08:00
parsing remove gcc49 overrides from various places 2015-07-23 11:53:18 +02:00
phantomjs rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08:00
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 buildRustPackage: Don't hardcode registry index hash 2015-05-19 19:02:38 +02:00
sassc sassc: 3.2.1 -> 3.2.4 2015-06-01 01:28:18 -04:00
sauce-connect Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
selenium Upgrade to selenium 2.45 2015-05-22 17:40:18 +03:00
sigrok-cli
slimerjs Update SlimerJS 2015-06-14 11:21:36 +03:00
sqsh
thrust Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
toluapp Fixed meta.license: s/licence/license 2015-05-30 15:19:05 +02:00
tradcpp Reduce size of tradcpp derivation. 2015-02-04 13:34:13 +01:00
vagrant Vagrant: 1.7.3 -> 1.7.4 (ZHF) 2015-07-21 19:08:15 +03:00
watchman
winpdb
yuicompressor