2 years ago
Our service builds properly locally, but we are getting an error with the nix package build. Here is the link to the service:https://railway.app/project/926a9c99-b034-4f86-b55e-21c3fd348cb0/service/42ef2704-ad56-4818-9b93-10faa1437919Section of the error:#10 [stage-0 6/12] RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d
Jun 27 19:42:55
Jun 27 19:52:38
#10 582.8 error:
Jun 27 19:52:38
#10 582.8 … while calling the 'import' builtin
Jun 27 19:52:38
#10 582.8 at /app/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix:3:12:
Jun 27 19:52:38
#10 582.8 2|
Jun 27 19:52:38
#10 582.8 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf744fe90419885eefced41b3e5ae442d732712d.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };
Jun 27 19:52:38
#10 582.8 | ^
Jun 27 19:52:38
#10 582.8 4| in with pkgs;
Jun 27 19:52:38
#10 582.8
Jun 27 19:52:38
#10 582.8 … while realising the context of a path
Jun 27 19:52:38
#10 582.8
Jun 27 19:52:38
#10 582.8 … while calling the 'fetchTarball' builtin
Jun 27 19:52:38
#10 582.8 at /app/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix:3:20:
Jun 27 19:52:38
#10 582.8 2|
Jun 27 19:52:38
#10 582.8 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf744fe90419885eefced41b3e5ae442d732712d.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };
Jun 27 19:52:38
Jun 27 19:52:38
#10 582.8 | ^
Jun 27 19:52:38
#10 582.8 4| in with pkgs;
Jun 27 19:52:38
#10 582.8
Jun 27 19:52:38
#10 582.8 error: cannot read file 'nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d/pkgs/servers/x11/xorg/darwin/dri/GL/internal/dri_interface.h' from tarball
Jun 27 19:52:38
Jun 27 19:52:38
#10 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
Jun 27 19:52:38
Jun 27 19:52:38
-----
Jun 27 19:52:38
> [stage-0 6/12] RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d:
Jun 27 19:52:38
582.8 … while realising the context of a path
Jun 27 19:52:38
582.8
Jun 27 19:52:38
582.8 … while calling the 'fetchTarball' builtin
Jun 27 19:52:38
582.8 at /app/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix:3:20:
Jun 27 19:52:38
582.8 2|
Jun 27 19:52:38
582.8 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf744fe90419885eefced41b3e5ae442d732712d.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };
Jun 27 19:52:38
582.8 | ^
Jun 27 19:52:38
582.8 4| in with pkgs;
Jun 27 19:52:38
582.8
Jun 27 19:52:38
582.8 error: cannot read file 'nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d/pkgs/servers/x11/xorg/darwin/dri/GL/internal/dri_interface.h' from tarball
Jun 27 19:52:38
-----
Jun 27 19:52:38
Jun 27 19:52:38
Dockerfile:10
Jun 27 19:52:38
-------------------
Jun 27 19:52:38
8 | RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
Jun 27 19:52:38
9 | COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix
Jun 27 19:52:38
10 | >>> RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d
Jun 27 19:52:38
11 |
Jun 27 19:52:38
12 |
Jun 27 19:52:38
-------------------
Jun 27 19:52:38
We have tried several times now. Any help?
2 Replies
2 years ago
Same issue.
2 years ago
We've identified an issue that was possibly creating this problem and issued a fix as of about 2 hours ago.
Please let us know here if the issue persists in any form.
Meanwhile thank you very much for the report.
David
10 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 10 months ago