If you need an additional program temporarily, you can run a nested Nix shell.
The programs provided by the specified packages will be added to the current environment.
[nix-shell:~]$ nix-shell -p python3 this path will be fetched (11.42 MiB download, 62.64 MiB unpacked): /nix/store/pwy30a7siqrkki9r7xd1lksyv9fg4l1r-python3-3.10.11 copying path '/nix/store/pwy30a7siqrkki9r7xd1lksyv9fg4l1r-python3-3.10.11' from 'https://cache.nixos.org'... [nix-shell:~]$ python --version Python 3.10.11
Copy to clipboard
Exit the shell as usual to return to the previous environment.
If you want to change selection, open document below and click on "Move attachment"
Ad hoc shell environments — nix.dev documentationon | head -1 NVIM v0.8.1 [nix-shell:~]$ which npm /nix/store/q12w83z0i5pi1y0m6am7qmw1r73228sh-nodejs-18.12.1/bin/npm [nix-shell:~]$ npm --version 8.19.2 Copy to clipboard Nested shell sessions# <span>If you need an additional program temporarily, you can run a nested Nix shell. The programs provided by the specified packages will be added to the current environment. [nix-shell:~]$ nix-shell -p python3 this path will be fetched (11.42 MiB download, 62.64 MiB unpacked): /nix/store/pwy30a7siqrkki9r7xd1lksyv9fg4l1r-python3-3.10.11 copying path '/nix/store/pwy30a7siqrkki9r7xd1lksyv9fg4l1r-python3-3.10.11' from 'https://cache.nixos.org'... [nix-shell:~]$ python --version Python 3.10.11 Copy to clipboard Exit the shell as usual to return to the previous environment. Towards reproducibility# These shell environments are very convenient, but the examples so far are not reproducible yet. Running these commands on another machine may fetch different ve Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details