sbt: apply autoPatchelfHook only in Linux
This commit is contained in:
parent
2dfadf168f
commit
4add0567b5
@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
|
|||||||
echo -java-home ${jre.home} >>conf/sbtopts
|
echo -java-home ${jre.home} >>conf/sbtopts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = stdenv.lib.optionals stdenv.isLinux [ zlib ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/sbt $out/bin
|
mkdir -p $out/share/sbt $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user