This commit is contained in:
Amy de Buitléir 2025-09-04 19:17:00 +01:00
parent e480f787fe
commit 113e0d33f5

View file

@ -1,19 +0,0 @@
= From the command line (flake style)
....
$# echo '$ nix shell nixpkgs#hello nixpkgs#cowsay --command bash'
$# nix shell nixpkgs#hello nixpkgs#cowsay --command bash <<EOL
$ hello
$ cowsay "moo"
$# EOL
....
= From the command line (non-flake style)
....
$# echo '$ nix-shell -p "[hello cowsay]"'
$# nix-shell -p "[hello cowsay]" --run bash <<EOL
$ hello
$ cowsay "moo"
$# EOL
....