nixpackages error

jackculpanPRO

a year ago

10 66.25 10|

10 66.25

10 66.25 … while evaluating derivation 'bf446f08bff6814b569265bef8374cfdd3d8f0e0-env'

10 66.25 whose name attribute is located at /nix/store/0mh3vks8cyvqq94dhqjpx9hmx8k537gl-source/pkgs/stdenv/generic/make-derivation.nix:331:7

10 66.25

10 66.25 … while evaluating attribute 'passAsFile' of derivation 'bf446f08bff6814b569265bef8374cfdd3d8f0e0-env'

10 66.25 at /nix/store/0mh3vks8cyvqq94dhqjpx9hmx8k537gl-source/pkgs/build-support/trivial-builders/default.nix:69:9:

10 66.25 68| inherit buildCommand name;

10 66.25 69| passAsFile = [ "buildCommand" ]

10 66.25 | ^

10 66.25 70| ++ (derivationArgs.passAsFile or [ ]);

10 66.25

10 66.25 (stack trace truncated; use '--show-trace' to show the full, detailed trace)

10 66.25

10 66.25 error: nodejs_16 has been removed as it is EOL.

10 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

[stage-0 6/22] RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d:

66.25 … while evaluating attribute 'passAsFile' of derivation 'bf446f08bff6814b569265bef8374cfdd3d8f0e0-env'

66.25 at /nix/store/0mh3vks8cyvqq94dhqjpx9hmx8k537gl-source/pkgs/build-support/trivial-builders/default.nix:69:9:

66.25 68| inherit buildCommand name;

66.25 69| passAsFile = [ "buildCommand" ]

66.25 | ^

66.25 70| ++ (derivationArgs.passAsFile or [ ]);

66.25

66.25 (stack trace truncated; use '--show-trace' to show the full, detailed trace)

66.25

66.25 error: nodejs_16 has been removed as it is EOL.

Dockerfile:10

8 | RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d

9 | COPY .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix

10 | >>> RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

11 | RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends procps libpq-dev libmagickwand-dev libvips-dev git curl autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev

12 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

a year ago

Railway's nixpacks no longer supports node 16, please upgrade to node 18 or create a Dockerfile to build your app with node 16.