Closed jordan-bravo closed 8 months ago
yes! Now, can this tool find the correct commit? I'm not sure. But I can tell you the best wworkaround for this problem in general.
The tool grabs data from 4 sites. Those sites explore nixpkgs and build up a database.
Their logic is probably
Which is obviously problematic for us in this scenario because the newest commit is an error message.
I've talked to the creators of all 4 sites in the past, so I can ask them about this and see if something can be done to handle this in general.
For you specifically, I would;
nvs --repl nodejs@14
to get copy-paste code), use builtin.unsafePath (<- I can't quite remember the name of the method) to find the file path of nodejs14 attribute. Clone the nixpkgs repo, checkout the commit mentioned by nvs
. Then look then look at the commit history for that specific file. Somewhere in that history will be the working version (the commit before they add the warning message). Get the commit hash and use that in the nix-shell command
Is it possible to use nodejs_14 even though it is End Of Life?