sbt-extras: make sure which and curl are available in the PATH
This commit is contained in:
parent
6798212571
commit
29c182f2b2
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, which, curl, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
rev = "77686b3dfa20a34270cc52377c8e37c3a461e484";
|
rev = "77686b3dfa20a34270cc52377c8e37c3a461e484";
|
||||||
@ -17,9 +17,13 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install bin/sbt $out/bin
|
install bin/sbt $out/bin
|
||||||
|
|
||||||
|
wrapProgram $out/bin/sbt --prefix PATH : ${stdenv.lib.makeBinPath [ which curl]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user