Parsing error with NIXPACKS_PKGS env var causing build crash
brentably
PROOP

9 months ago

error: syntax error, unexpected '='

at /app/.nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix:19:10:

18| '')

19| =python311Full nodejs_18 npm-9_x

| ^

20| ];

I get this build error! I assume it's a parsing error. Please fix.

$10 Bounty

7 Replies

9 months ago

Can you please provide any environmental variables or configuration files that may relate to this?


brentably
PROOP

9 months ago

There was no configuration file. The environment variable I had set was NIXPACKS_PKGS=python3Full


9 months ago

Instead of adding an env var, can you include Python as a provider in the service settings?
Keep your "Node" provider if it already shows there.

Attachments


medim

Instead of adding an env var, can you include Python as a provider in the service settings?Keep your "Node" provider if it already shows there.

brentably
PROOP

9 months ago

The reason I was trying to add Python3Full is because it is a different nixpackage than the python provider in the service settings.

Ultimately I was trying to add the ability to use pip.


9 months ago

Have you modified your startup command?


samgordon

Have you modified your startup command?

brentably
PROOP

9 months ago

yes, it's sudo bash start-nginx.sh


brentably

yes, it's sudo bash start-nginx.sh

9 months ago

Can you share that file with us please?


Loading...