mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-03-19 20:25:13 +08:00
temp
This commit is contained in:
parent
e480f787fe
commit
113e0d33f5
1 changed files with 0 additions and 19 deletions
|
|
@ -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
|
||||
....
|
||||
Loading…
Add table
Add a link
Reference in a new issue