Nix-shell shebang: Difference between revisions
imported>Milahu add link: Nix Flakes, Part 2: Evaluation caching - Tweag |
imported>Enzime nixpkgs-channel is no longer in use and actually pin a commit |
||
| Line 106: | Line 106: | ||
#! /usr/bin/env nix-shell | #! /usr/bin/env nix-shell | ||
#! nix-shell -i bash | #! nix-shell -i bash | ||
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs | #! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/aed4b19d312525ae7ca9bceb4e1efe3357d0e2eb.tar.gz | ||
echo hello world | echo hello world | ||