My deployement fails without any changes made previously
findingben
PROOP

a year ago

So my deployement failed even tho I haven't made any configuration changes. I am using Django in my app and nixpacks builder as default builder here on Railway.

Here are the logs of the error, I also seen that people had issues with this two months ago but that fix which they came up with doesn't work for me. Hope people can help out:

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 python39

| ^

20| ];

Did you mean doc?

Like I said I made no changes so nothing is breaking in my code, no missconfiguration or anything like that.

Solved

3 Replies

brody
EMPLOYEE

a year ago

Hello,

I've reverted the Nixpacks version to a previous version that worked best for your build.

rhetorical-linen deployed just fine, but your backend still failed, looks like its also trying to install Node, is that needed? try removing it.

Best,
Brody


Status changed to Awaiting User Response Railway 12 months ago


findingben
PROOP

a year ago

Hi thank you for a fast response!

Yes I saw the rhetorical-linen suceeded also my backend seems good now. May I ask to what version you reverted it? I can't see the version and I would just like to know for future refference in case it happens again.


Status changed to Awaiting Railway Response Railway 12 months ago


brody
EMPLOYEE

a year ago

You can check the activity feed within your project canvas.


Status changed to Awaiting User Response Railway 12 months ago


Status changed to Solved brody 12 months ago


Loading...