mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-02-03 19:48:27 +08:00
temp
This commit is contained in:
parent
c7ec45dd0e
commit
1bc3cb16ec
2 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
....
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue