Nix Env Issue
johan_trafico
HOBBYOP

2 years ago

10 [stage-0 6/14] RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

10 657.2 error:

10 657.2 … while calling the 'import' builtin

10 657.2 at /app/.nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix:3:12:

10 657.2 2|

10 657.2 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf446f08bff6814b569265bef8374cfdd3d8f0e0.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };

10 657.2 | ^

10 657.2 4| in with pkgs;

10 657.2

10 657.2 … while realising the context of a path

10 657.2

10 657.2 … while calling the 'fetchTarball' builtin

10 657.2 at /app/.nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix:3:20:

10 657.2 2|

10 657.2 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf446f08bff6814b569265bef8374cfdd3d8f0e0.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };

10 657.2 | ^

10 657.2 4| in with pkgs;

10 657.2

10 657.2 error: cannot read file 'nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0/pkgs/tools/admin/pgadmin/yarn.lock' from tarball

10 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

[stage-0 6/14] RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d:

657.2 … while realising the context of a path

657.2

657.2 … while calling the 'fetchTarball' builtin

657.2 at /app/.nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix:3:20:

657.2 2|

657.2 3| let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bf446f08bff6814b569265bef8374cfdd3d8f0e0.tar.gz";) { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz";)) ]; };

657.2 | ^

657.2 4| in with pkgs;

657.2

657.2 error: cannot read file 'nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0/pkgs/tools/admin/pgadmin/yarn.lock' from tarball

Dockerfile:10

View Deploy details

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

Closed

2 Replies

lbwaks
HOBBY

10 months ago

Hello,
How did you solve this issue? Am also experiencing the same.


lbwaks

Hello,How did you solve this issue? Am also experiencing the same.

medim
MODERATOR

10 months ago

Open a new thread please.


Status changed to Closed medim 10 months ago


Loading...