a year ago
When I try to build my repo which is a laravel app I get the following error and this error is not related to my code:
8 24.33 error:
8 24.33 … while calling the 'derivationStrict' builtin
8 24.33 at :34:12:
8 24.33 33|
8 24.33 34| strict = derivationStrict drvAttrs;
8 24.33 | ^
8 24.33 35|
8 24.33
8 24.33 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
8 24.33 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
8 24.33
8 24.33 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
8 24.33 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
8 24.33 87| inherit buildCommand name;
8 24.33 88| passAsFile = [ "buildCommand" ]
8 24.33 | ^
8 24.33 89| ++ (derivationArgs.passAsFile or []);
8 24.33
8 24.33 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
8 24.33
8 24.33 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:
24.33 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
24.33 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
24.33 87| inherit buildCommand name;
24.33 88| passAsFile = [ "buildCommand" ]
24.33 | ^
24.33 89| ++ (derivationArgs.passAsFile or []);
24.33
24.33 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
24.33
24.33 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
> ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies