mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
haskell: document shellFor extraDependencies
This commit is contained in:
parent
ff9e4bce32
commit
5386852b57
1 changed files with 6 additions and 0 deletions
|
@ -619,6 +619,12 @@ environment. This means you can reuse Nix expressions of packages included in
|
|||
nixpkgs, but also use local Nix expressions like this: `hpkgs: [
|
||||
(hpkgs.callPackage ./my-project.nix { }) ]`.
|
||||
|
||||
`extraDependencies`
|
||||
: Extra dependencies, in the form of cabal2nix build attributes. An example use
|
||||
case is when you have Haskell scripts that use libraries that don't occur in
|
||||
your packages' dependencies. Example: `hpkgs: {libraryHaskellDepends =
|
||||
[ hpkgs.releaser ]}`. Defaults to `hpkgs: { }`.
|
||||
|
||||
`nativeBuildInputs`
|
||||
: Expects a list of derivations to add as build tools to the build environment.
|
||||
This is the place to add packages like `cabal-install`, `doctest` or `hlint`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue