Re:Show HN: #!/usr/bin/env docker run
by YoshiRulz on Monday January 15, 2024 @11:15AM
(#39002472)
You can "pin" Nixpkgs with this style of invocation as well, see https://nixos.wiki/wiki/Nix-shell_shebang#Pinning_nixpkgs. But I agree that if you're writing a shell script (or small Python/Ruby scripts) that you'll be running often, it's better to package it (e.g. with writeShellScriptBin) and install to profile.
[ Parent
| on HN ]
There are no comments on this comment yet.