mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #130114 from roberth/fix-neo4j-JAVA_HOME
Fix neo4j java home
This commit is contained in:
commit
c8c84795b4
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, makeWrapper, jre8, which, gawk }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, jre, which, gawk }:
|
||||
|
||||
with lib;
|
||||
|
||||
@ -12,8 +12,6 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jre8 which gawk ];
|
||||
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/neo4j"
|
||||
@ -24,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||
do
|
||||
makeWrapper "$out/share/neo4j/bin/$NEO4J_SCRIPT" \
|
||||
"$out/bin/$NEO4J_SCRIPT" \
|
||||
--prefix PATH : "${lib.makeBinPath [ jre8 which gawk ]}" \
|
||||
--set JAVA_HOME "$jre8"
|
||||
--prefix PATH : "${lib.makeBinPath [ jre which gawk ]}" \
|
||||
--set JAVA_HOME "${jre}"
|
||||
done
|
||||
'';
|
||||
|
||||
|
@ -19986,7 +19986,9 @@ in
|
||||
|
||||
check_systemd = callPackage ../servers/monitoring/nagios/plugins/check_systemd.nix { };
|
||||
|
||||
neo4j = callPackage ../servers/nosql/neo4j { };
|
||||
neo4j = callPackage ../servers/nosql/neo4j {
|
||||
jre = jre8_headless;
|
||||
};
|
||||
|
||||
neo4j-desktop = callPackage ../applications/misc/neo4j-desktop { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user