This commit is contained in:
Amy de Buitléir 2025-09-14 18:38:18 +01:00
parent c7ec45dd0e
commit 1bc3cb16ec
2 changed files with 10 additions and 3 deletions

View file

@ -14,6 +14,13 @@ Occasionally you might want to run a short Haskell program that depends on a Has
but you don't want to bother writing a cabal file.
In this example, we will access the `extra` package from the `haskellPackages` set in the nixpkgs repo.
[NOTE]
====
For non-trivial Haskell development projects,
it's usually more convenient to use `haskell-flake` as described in <<#haskell-flake>>,
together with the high-level workflow described in <<_development_workflows>>.
====
[source,nix,linenums,highlight='11,16']
.flake.nix
....