Deploying UNSTRACT - not

dennisprice
HOBBY

4 months ago

Seeking a kind soul --- Someone who can ELI5 (I can hardly read json). I have successfully deployed with templates 2 apps. But for UNSTRACT there is no template, so not clear on the process, and followed the UI --- and landed with this error:

installing '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

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](16.dev) python39
         |             ^
       20|       ];
   Did you mean doc?

✕ [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
=================================

Looks like somewhere in the code the word DEV was used instead of DOC. But I have no idea how to access or fix that. Is that inside Railway? Or must I do something in GITHUB? I don't have a clue which file to access, how to access and what to do if I did access it. --- Anyone having a slow day, help will be appreciated :)

View Deploy details

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

Closed

1 Replies

4 months ago

Hey!

I've set a different Nixpacks version that works best to build the app, and now the deploy went out, but the current issue you are facing is an issue with your project/application. Unfortunately, we're unable to offer first-party support for issues unrelated to the Railway product or platform.

Other communities such as Stackoverflow might be able to help you out further from here.

Best,
Brody


Status changed to Closed brody 4 months ago


Deploying UNSTRACT - not - Railway Help Station