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

elagonzalezTRIAL

a year ago

https://github.com/Elagonzalez/PagoEasy.git

Why this error?

8 [ 4/12] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d

8 30.95 installing '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

8 31.89 error:

8 31.89 … while calling the 'derivationStrict' builtin

8 31.89 at :9:12:

8 31.89 8|

8 31.89 9| strict = derivationStrict drvAttrs;

8 31.89 | ^

8 31.89 10|

8 31.89

8 31.89 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

8 31.89 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7

8 31.89

8 31.89 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

8 31.89 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

8 31.89 87| inherit buildCommand name;

8 31.89 88| passAsFile = [ "buildCommand" ]

8 31.89 | ^

8 31.89 89| ++ (derivationArgs.passAsFile or []);

8 31.89

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

8 31.89

8 31.89 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:

31.89 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

31.89 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

31.89 87| inherit buildCommand name;

31.89 88| passAsFile = [ "buildCommand" ]

31.89 | ^

31.89 89| ++ (derivationArgs.passAsFile or []);

31.89

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

31.89

31.89 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

View Deploy details

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

1 Replies

a year ago

error: php80 has been dropped due to the lack of maintenance from upstream for future releases

You will need to use PHP 8.1, you can change that in your composer.json file.