Merge pull request #13914 from kamilchm/heroku

heroku: FIX for node not found  https://github.com/NixOS/nixpkgs/issu
This commit is contained in:
Arseniy Seroka 2016-03-15 22:44:29 +03:00
commit f29c07b464

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, postgresql, ruby }:
{ stdenv, fetchurl, postgresql, ruby, makeWrapper, nodejs-5_x }:
with stdenv.lib;
stdenv.mkDerivation rec {
@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out
cp -R * $out/
wrapProgram $out/bin/heroku --set HEROKU_NODE_PATH ${nodejs-5_x}/bin/node
'';
buildInputs = [ ruby postgresql ];
buildInputs = [ ruby postgresql makeWrapper ];
}