2 years ago
#8 16.86
#8 16.86 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
#8 16.86 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
#8 16.86
#8 16.86 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
#8 16.86 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
#8 16.86 87| inherit buildCommand name;
#8 16.86 88| passAsFile = [ "buildCommand" ]
#8 16.86 | ^
#8 16.86 89| ++ (derivationArgs.passAsFile or []);
#8 16.86
#8 16.86 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
#8 16.86
#8 16.86 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:
16.86 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
16.86 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
16.86 87| inherit buildCommand name;
16.86 88| passAsFile = [ "buildCommand" ]
16.86 | ^
16.86 89| ++ (derivationArgs.passAsFile or []);
16.86
16.86 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
16.86
16.86 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
Estos son los logs y este es mi .env del proyecto
APP_DEBUG=true
APP_ENV=production
APP_KEY=base64:Qb5Ul4U/u1wgpWC6i6/tgU3Rw2H14BZdcNDruaUvRkc=
APP_NAME=Laravel
APP_URL=https:pueblo-web.railway.internal
AWS_ACCESS_KEY_ID=
AWS_BUCKET=
AWS_DEFAULT_REGION=us-east-1
AWS_SECRET_ACCESS_KEY=
AWS_USE_PATH_STYLE_ENDPOINT=false
BROADCAST_DRIVER=log
CACHE_DRIVER=file
DB_CONNECTION=mysql
DB_DATABASE=railway
DB_HOST=monorail.proxy.rlwy.net
DB_PASSWORD=btFtQPcgTDtngJwgZNbHOvgdUzNXBsXJ
DB_PORT=58781
DB_USERNAME=root
FILESYSTEM_DISK=local
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=hello@example.com
MAIL_FROM_NAME=${APP_NAME}
MAIL_HOST=mailpit
MAIL_MAILER=smtp
MAIL_PASSWORD=null
MAIL_PORT=1025
MAIL_USERNAME=null
MEMCACHED_HOST=127.0.0.1
NIXPACKS_BUILD_CMD=composer install && npm install --production && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force
PUSHER_APP_CLUSTER=mt1
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
QUEUE_CONNECTION=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
SESSION_DRIVER=file
SESSION_LIFETIME=120
VITE_PUSHER_APP_CLUSTER=${PUSHER_APP_CLUSTER}
VITE_PUSHER_APP_KEY=${PUSHER_APP_KEY}
VITE_PUSHER_HOST=${PUSHER_HOST}
VITE_PUSHER_PORT=${PUSHER_PORT}
VITE_PUSHER_SCHEME=${PUSHER_SCHEME}
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
2 years ago
As per your build logs -
php80 has been dropped due to the lack of maintenance
Please upgrade to php 8.1, if your app is already compatible please update the php version as set in your composer.json file.