error while trying to build my application
marko379
HOBBYOP

a year ago

I cannot redeploy my application

2 months ago it was working just fine

I am using python and django

project: https://github.com/marko379/vue-blog

[stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d

"nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

unpacking 'https://github.com/NixOS/nixpkgs/archive/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.tar.gz' into the Git cache...

installing '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

error:

… while calling the 'derivationStrict' builtin

at <nix/derivation-internal.nix>:34:12:

33|

34| strict = derivationStrict drvAttrs;

| ^

35|

… while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7

… while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

87| inherit buildCommand name;

88| passAsFile = [ "buildCommand" ]

| ^

89| ++ (derivationArgs.passAsFile or []);

(stack trace truncated; use '--show-trace' to show the full, detailed trace)

error: attribute 'dev' missing

at /app/.nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix:19:13:

18| '')

19| gcc postgresql_16.dev python38

| ^

20| ];

Did you mean doc?

Solved

1 Replies

a year ago

Hello,

You had the variable name set incorrectly, I've fixed that and your deployment has succeeded.


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...