push
This commit is contained in:
@@ -33,13 +33,14 @@
|
||||
|
||||
inherit src npmDeps;
|
||||
|
||||
nativeBuildInputs = [ pkgs.nodejs pkgs.npmHooks.npmConfigHook ];
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/bug-tv $out/bin
|
||||
cp -r rest mod providers package.json $out/lib/bug-tv/
|
||||
ln -s ${npmDeps} $out/lib/bug-tv/node_modules
|
||||
cp -r rest mod providers package.json node_modules $out/lib/bug-tv/
|
||||
printf '%s\n' \
|
||||
'#!${pkgs.bash}/bin/bash' \
|
||||
'exec ${pkgs.nodejs}/bin/node "$out/lib/bug-tv/rest/server.js" "$@"' \
|
||||
|
||||
Reference in New Issue
Block a user