mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #13914 from kamilchm/heroku
heroku: FIX for node not found https://github.com/NixOS/nixpkgs/issu…
This commit is contained in:
commit
f29c07b464
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user