a year ago
Hi.
I have this app which was working fine and has not been updated for a year. For no apparent reason it does not work any more and any attempt to redeploy fails with the following error:
error:
… while calling the 'derivationStrict' builtin
at :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?
level:"info"
source:"buildkit"
stream:2
timestamp:"2025-03-01T22:04:30.365805564Z"
type:"log"
vertex:"sha256:2bc09f646a4a9e96f853f8e4ab38abe95300aceeba9d292c746a542f53bef0ea"I have tried the solutions proposed in the thread below (removing the runtime.txt file and adding the variables) and still could not solve the issue:
https://station.railway.com/questions/error-attribute-dev-missing-nixpack-0e3695bf
Any help will be greatly appreciated.
> ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
a year ago
Hello,
You have yet to Deploy the changes after adding the two variables -
Attachments
a year ago
Hi.
I did not now that I had to re-deploy after the new variables were added, I thought that they become accessible straight away.
You, sir, are a legend!
P.S. My app is still not working but this is because ElephantSQL where my DB was hosted are out of business apparently.
a year ago
Happy to help!
And yeah your DB provider going out of business sure would bring down your app haha.
Status changed to Solved brody • about 1 year ago