saxon: use our standard share/java/*.jar location
This commit is contained in:
parent
37a47c1970
commit
fbb33ab8c9
@ -8,8 +8,13 @@ stdenv.mkDerivation {
|
||||
md5 = "7b8c7c187473c04d2abdb40d8ddab5c6";
|
||||
};
|
||||
|
||||
inherit unzip;
|
||||
buildInputs = [unzip];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
# still leaving in root as well, in case someone is relying on that
|
||||
preFixup = ''
|
||||
mkdir -p "$out/share/java"
|
||||
cp -s "$out"/*.jar "$out/share/java/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
@ -1,3 +1,6 @@
|
||||
source $stdenv/setup
|
||||
|
||||
unzip $src -d $out
|
||||
|
||||
fixupPhase
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ jdk ant saxon ];
|
||||
|
||||
preBuild = "CLASSPATH='${saxon}/saxon.jar'; echo CLASSPATH=$CLASSPATH; ant";
|
||||
preBuild = "ant";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{share/java,bin}
|
||||
|
Loading…
x
Reference in New Issue
Block a user