This commit is contained in:
Kamil Chmielewski 2016-03-14 11:48:08 +01:00
parent cdd78ce133
commit 918ed0b834

View File

@ -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 ];
} }