a year ago
i got this error message in the failed log during deployment
8 19.16 10|
8 19.16
8 19.16 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
8 19.16 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
8 19.16
8 19.16 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
8 19.16 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
8 19.16 87| inherit buildCommand name;
8 19.16 88| passAsFile = [ "buildCommand" ]
8 19.16 | ^
8 19.16 89| ++ (derivationArgs.passAsFile or []);
8 19.16
8 19.16 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
[ 4/12] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d:
19.16 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
19.16
19.16 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
19.16 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
19.16 87| inherit buildCommand name;
19.16 88| passAsFile = [ "buildCommand" ]
19.16 | ^
19.16 89| ++ (derivationArgs.passAsFile or []);
19.16
19.16 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
Dockerfile:8
6 |
7 | COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
9 |
10 | COPY .nixpacks/assets /assets/
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
Error: Docker build failed
How can i solve it.
1 Replies
a year ago
Seems Nixpacks doesn't support PHP8.0 or lower anymore: https://github.com/railwayapp/nixpacks/issues/1040
This is mentioned in the log you posted: "php80 has been dropped due to the lack of maintenance from upstream for future releases"
You should set a newer PHP version in your composer.json.
Status changed to Solved railway[bot] • 11 months ago