fix: use nodejs binary instead of nodejs_22 (cached)

This commit is contained in:
maulanasdqn
2026-02-14 17:43:42 +07:00
parent 708cbde596
commit f846a5a785
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
# Development shell
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_22
nodejs
nodePackages.npm
bun
+2 -2
View File
@@ -10,7 +10,7 @@ pkgs.buildNpmPackage {
makeCacheWritable = true;
nativeBuildInputs = with pkgs; [
nodejs_22
nodejs
nodePackages.npm
python3 # Required for node-gyp (sharp, etc.)
];
@@ -48,7 +48,7 @@ pkgs.buildNpmPackage {
cat > $out/bin/imphnen-landing <<EOF
#!${pkgs.bash}/bin/bash
cd $out/share/landing
exec ${pkgs.nodejs_22}/bin/node --jitless apps/landing/server.js "\$@"
exec ${pkgs.nodejs}/bin/node --jitless apps/landing/server.js "\$@"
EOF
chmod +x $out/bin/imphnen-landing
+1 -1
View File
@@ -12,7 +12,7 @@ pkgs.buildNpmPackage {
makeCacheWritable = true;
nativeBuildInputs = with pkgs; [
nodejs_22
nodejs
nodePackages.npm
util-linux # For script command to create pseudo-terminal
];