nix-book/source/recipes/build/haskell-flake/main.adoc0
Amy de Buitléir f3357d2a89 initial commit
2025-09-15 17:41:13 +01:00

13 lines
427 B
Text

= Access to a Haskell package defined in a flake
In this example we will access three Haskell packages
(`pandoc-linear-table`, `pandoc-logic-proof`, and `pandoc-columns`)
that are defined as flakes on my hard drive.
We are using `haskell-flake`, so the development environment is
set up automatically; no need to define `devShells`.
[source,nix,linenums,highlight='8..11,13,21..26']
.flake.nix
....
include::flake.nix[]
....