Johnson Oroyemi
Johnson Oroyemi
RRailway
Created by Johnson Oroyemi on 10/28/2023 in #✋|help
laravel deployment failed during build process on railway
I am trying to deploy laravel application on railway but I keep getting this error: #8 22.79 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:
22.79 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env' 22.79 22.79 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7: 22.79 22.79 87| inherit buildCommand name; 22.79 88| passAsFile = [ "buildCommand" ] 22.79 | ^ 22.79 89| ++ (derivationArgs.passAsFile or []); 22.79 22.79 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
5 replies