nix-book/source/shell-recipes/main.adoc
2023-06-16 16:00:18 +01:00

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]