mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-10 07:42:35 +08:00
19 lines
657 B
Text
19 lines
657 B
Text
= nix-shell recipes
|
|
|
|
There may be times where all you need is a shell.
|
|
Perhaps you're doing a quick, one-off task.
|
|
In this situation, the older, non-flake way of using Nix
|
|
may be more convenient.
|
|
The examples in this chapter will illustrate the process.
|
|
|
|
include::shell-with-nixpkgs/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::shell-with-git-nix-pkg/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::shell-with-flake-rev/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::shell-haskell-local/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::shell-haskell-local-deps/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::shell-with-env-var/main-generated.adoc[leveloffset=+1]
|