I tried an analogue of nix profile upgrade
, and I’m getting an error that the “nodejs_21” package I had installed is unknown.
After checking, nix search nixpkgs '^nodejs'
, it seems nodejs_20
and nodejs_22
are available, but not nodejs_21
.
However, NixOS Search suggests that nodejs_21
exists but nodejs_22
does not.
I’d appreciate advice; I’m not sure what my question should be but here are some: Can I use the same input as search.nixos.org
uses in my flake? Is search.nixos.org
broken? What happened to the nodejs_21
package?
To be more precise, I’m actually using home-manager
in its flake config. The output of nix flake update
was:
• Updated input 'home-manager':
'github:nix-community/home-manager/670d9ecc3e46a6e3265c203c2d136031a3d3548e' (2024-04-21)
→ 'github:nix-community/home-manager/f8e6694edabe4aaa7a85aac47b43ea5d978b116d' (2024-04-29)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f2d7a289c5a5ece8521dd082b81ac7e4a57c2c5c' (2024-04-21)
→ 'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae' (2024-04-28)
Update: For “what happened to nodejs_21”, I found nodejs_21: drop · NixOS/nixpkgs@12c19fa · GitHub. I guess I should look into which versions of Node have long-term support?
My other questions are still outstanding. Is search.nixos.org broken now? It’d be a shame, it was so convenient.