https://mirrors.ustc.edu.cn/help/nix-channels.html
$ nix-env -qaP nodejs
nixpkgs.nodejs-10_x nodejs-10.24.1
nixpkgs.nodejs-12_x nodejs-12.22.12
nixpkgs.elmPackages.nodejs nodejs-14.19.2
nixpkgs.nodejs nodejs-16.15.0
nixpkgs.nodejs-16_x nodejs-16.15.0
nixpkgs.nodejs-17_x nodejs-17.9.0
nixpkgs.nodejs-18_x nodejs-18.1.0
$ nix-env -qaP python3
nixpkgs.python310 python3-3.10.4
nixpkgs.python311 python3-3.11.0a7
nixpkgs.python37 python3-3.7.13
nixpkgs.python37Full python3-3.7.13
nixpkgs.python38 python3-3.8.13
nixpkgs.python38Full python3-3.8.13
nixpkgs.gnuradio3_8Packages.python python3-3.9.12
nixpkgs.python39Full python3-3.9.12
nixpkgs.python3Full python3-3.9.12
nixpkgs.sourcehut.python python3-3.9.12
{ pkgs ? import <nixpkgs> {} }:
with pkgs; mkShell {
buildInputs = [
python38
nodejs-16_x
];
}
Then
nix-shell
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
https://nixos.wiki/wiki/Locales
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive