Deployment Error: "error: undefined variable 'python38' "

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?
Solution:
set your engines.node to 16
Jump to solution
14 Replies
Percy
Percy3w ago
Project ID: N/A
Brody
Brody3w ago
if you have a nixpacks.toml file please send it
ched_dev
ched_dev3w ago
nixpacks.toml:
[phases.setup]
nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']
[phases.setup]
nixPkgs = ['...','python38', 'gcc']

aptPkgs = ['build-essential', 'glibc-source']
Brody
Brody3w ago
change python38 to python3
ched_dev
ched_dev3w ago
Got a pretty nasty "make" error this time.. I forgot the shortcut to save log and send here. How do I do that?
Brody
Brody3w ago
what version of node do you use locally?
ched_dev
ched_dev3w ago
Currently 16x
Brody
Brody3w ago
and that app works on 16x?
ched_dev
ched_dev3w ago
It builds ok, I only added these python things because I was told it was needed for other parts of the framework.
Solution
Brody
Brody3w ago
set your engines.node to 16
ched_dev
ched_dev3w ago
it's alive!! Thank you for your help @Brody . You're always there for me ❤️
Brody
Brody3w ago
no problem!