Deployment Error: "error: undefined variable 'python38' "
ched-dev
HOBBYOP

2 years ago

I am trying to deploy the latest version of an app I have built a while ago and I now get an error during build step with the following:

error: undefined variable 'python38'

My nixpacks.toml does choose to include it manually. It used to work. Is it no longer supported?

14 Replies

2 years ago

if you have a nixpacks.toml file please send it


ched-dev
HOBBYOP

2 years ago

nixpacks.toml:

[phases.setup]
  nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']

2 years ago

change python38 to python3


ched-dev
HOBBYOP

2 years ago

Got a pretty nasty "make" error this time.. I forgot the shortcut to save log and send here. How do I do that?



ched-dev
HOBBYOP

2 years ago


2 years ago

what version of node do you use locally?


ched-dev
HOBBYOP

2 years ago

Currently 16x


2 years ago

and that app works on 16x?


ched-dev
HOBBYOP

2 years ago

It builds ok, I only added these python things because I was told it was needed for other parts of the framework.


2 years ago

set your engines.node to 16


ched-dev
HOBBYOP

2 years ago

it's alive!!


ched-dev
HOBBYOP

2 years ago

Thank you for your help @Brody . You're always there for me ❤️


2 years ago

no problem!


Loading...