This commit is contained in:
4DBug
2026-08-26 15:02:57 -05:00
parent a7db6a93d1
commit 261e475d24
+3 -2
View File
@@ -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" "$@"' \