Ok amazingly this worked. But it seems like a overkill just to install node 14. Should I explore finding a node 14 binary on the net and specifying it as an input to my flake instead? Suggestions from someone more experienced than me? What would something like that look loke?
That appears to be the problem, yes. In my opinion that is a bug in the package. It was probably made when there was no Python 3.11 around.
However that may be, NodeJS 14 has reached end-of-life and might be dropped from nixpkgs at some undefined yet not so distant future date. So it most likely won’t get an update. See this discussion for example:
And it is flagged insecure for a reason, due to its dependency on openssl-1.1
Once it gets removed from nixpkgs you might want to pin your flake inputs to the last git commit with nodejs 14 still in it.
The problem with getting a random node binary from the web might be that you’d have to create a new nix derivation for that if you want to use them the same way, unless someone else already packaged it correctly somewhere.
If you look at the actual builder for nodejs on nixpkgs you will see that this one, too, builds the C++ from source:
Ok. Since it is about to be removed I will just install node14 the old way and revisit flakes for this project once we’ve managed to get it to a supported version of node. Thanks for the help and the time you spent on this.