Update pkgs/development/compilers/flix/default.nix
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
7425cd06fc
commit
60eb9a470f
|
@ -15,10 +15,12 @@ stdenvNoCC.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
export JAR=$out/share/java/${pname}/${pname}.jar
|
||||
|
||||
export JAR=$out/share/java/flix/flix.jar
|
||||
install -D $src $JAR
|
||||
makeWrapper ${jre}/bin/java $out/bin/${pname} \
|
||||
makeWrapper ${jre}/bin/java $out/bin/flix \
|
||||
--add-flags "-jar $JAR"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue