fix: use nodejs binary instead of nodejs_22 (cached)
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
# Development shell
|
# Development shell
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nodejs_22
|
nodejs
|
||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
bun
|
bun
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -10,7 +10,7 @@ pkgs.buildNpmPackage {
|
|||||||
makeCacheWritable = true;
|
makeCacheWritable = true;
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
nodejs_22
|
nodejs
|
||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
python3 # Required for node-gyp (sharp, etc.)
|
python3 # Required for node-gyp (sharp, etc.)
|
||||||
];
|
];
|
||||||
@@ -48,7 +48,7 @@ pkgs.buildNpmPackage {
|
|||||||
cat > $out/bin/imphnen-landing <<EOF
|
cat > $out/bin/imphnen-landing <<EOF
|
||||||
#!${pkgs.bash}/bin/bash
|
#!${pkgs.bash}/bin/bash
|
||||||
cd $out/share/landing
|
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
|
EOF
|
||||||
chmod +x $out/bin/imphnen-landing
|
chmod +x $out/bin/imphnen-landing
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ pkgs.buildNpmPackage {
|
|||||||
makeCacheWritable = true;
|
makeCacheWritable = true;
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
nodejs_22
|
nodejs
|
||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
util-linux # For script command to create pseudo-terminal
|
util-linux # For script command to create pseudo-terminal
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user