Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
...
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
rht
5628cebcf0
/bin/sh -> ${stdenv.shell}
2017-04-30 17:01:07 +02:00
Alexey Shmalko
bb3fc68b30
antBuild: run default hooks
...
Fixes https://github.com/NixOS/nixpkgs/issues/10931 .
antBuild overrides buildPhase and installPhase without calling default
hooks.
2016-07-26 02:02:42 +03:00
William A. Kennington III
c82410eeda
java: Normalize to the default jre / jdk
2015-01-07 14:55:41 -08:00
Eelco Dolstra
c964077200
findTarball: Handle pipefail
...
It was failing because the bash subshell died with SIGPIPE, which is
no longer ignored.
http://hydra.nixos.org/build/16766452
2014-11-05 18:24:16 +01:00
Daniel Peebles
a570251187
Make ant-build canonicalize the jars it produces so that we produce byte-for-byte identical jars (they normally contain timestamps and nondeterministic ordering of metadata lines)
2014-08-14 01:20:44 -04:00
Eelco Dolstra
16e626a80d
Replace lib/java -> share/java
2014-01-09 13:01:38 +01:00
Eelco Dolstra
4728ec3f99
Fix some references to apacheAntOpenJDK
2014-01-06 14:36:13 +01:00
Rob Vermaas
1d26619edf
use openjdk as default for ant-build.nix
2012-08-25 19:39:49 +02:00
Petr Rockai
ce77a5ceec
Factor out repeated scriptlets from build-support/release/*.nix.
2012-07-23 20:33:04 +02:00
Eelco Dolstra
c556a6ea46
* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
...
function, so obsolete it.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Rob Vermaas
cf8da224c6
fixing wrappers in ant-build
...
svn path=/nixpkgs/trunk/; revision=24637
2010-11-10 12:55:25 +00:00
Rob Vermaas
0df15241ca
fixes to ant-build
...
svn path=/nixpkgs/trunk/; revision=24383
2010-10-20 12:30:03 +00:00
Rob Vermaas
5a7fa1d061
antBuild: minor changes
...
svn path=/nixpkgs/trunk/; revision=24376
2010-10-20 08:23:52 +00:00
Rob Vermaas
b1332dca0f
svn path=/nixpkgs/trunk/; revision=24366
2010-10-19 13:43:29 +00:00
Rob Vermaas
7a4356b7e9
typo
...
svn path=/nixpkgs/trunk/; revision=22170
2010-06-07 14:24:57 +00:00
Rob Vermaas
94356324f5
antbuild: added 2 arguments, antbuildinputs (all jars are added to classpath) and buildfile (for different location of build.xml)
...
svn path=/nixpkgs/trunk/; revision=22169
2010-06-07 13:58:13 +00:00
Rob Vermaas
8929e647c6
generatewrapper fix
...
svn path=/nixpkgs/trunk/; revision=20796
2010-03-23 20:54:59 +00:00
Rob Vermaas
e55f37246a
use hydrantlogger if in environment
...
svn path=/nixpkgs/trunk/; revision=20399
2010-03-05 10:35:11 +00:00
Rob Vermaas
edb6a80ac3
ant builder
...
svn path=/nixpkgs/trunk/; revision=20395
2010-03-05 10:09:22 +00:00