mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-25 07:57:12 +08:00
13 lines
427 B
Text
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[]
|
|
....
|