NixOS Newbie here. Apologies if I’m missing something obvious.
I’m trying to install nodejs based on the shell.nix example [0]. But it gets rejected because of ‘python-2.7.18.6’ being insecure. Looking at the nodejs package definition [1] I see the python dependency but I don’t understand how it resolves to the outdated 2.7 version.
Why does it default to an outdated version?
What is the canonical way to fix this, besides allowing insecure packages?
Thanks so much
[0] Node.js - NixOS Wiki
[1] https://github.com/NixOS/nixpkgs/blob/127ddbae4a8bc78fdf712a2434d414e8f2150ac0/pkgs/development/web/nodejs/nodejs.nix