heroku: FIX for node not found https://github.com/NixOS/nixpkgs/issues/10298
This commit is contained in:
parent
cdd78ce133
commit
918ed0b834
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, postgresql, ruby }:
|
{ stdenv, fetchurl, postgresql, ruby, makeWrapper, nodejs-5_x }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -R * $out/
|
cp -R * $out/
|
||||||
|
wrapProgram $out/bin/heroku --set HEROKU_NODE_PATH ${nodejs-5_x}/bin/node
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ ruby postgresql ];
|
buildInputs = [ ruby postgresql makeWrapper ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user