mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 18:41:33 +09:00
Merge haskell-updates PR #371032 into staging
This commit is contained in:
commit
b35c701857
79 changed files with 19704 additions and 27192 deletions
|
@ -58,7 +58,7 @@ Each of those compiler versions has a corresponding attribute set `packages` bui
|
|||
it. However, the non-standard package sets are not tested regularly and, as a
|
||||
result, contain fewer working packages. The corresponding package set for GHC
|
||||
9.4.8 is `haskell.packages.ghc948`. In fact `haskellPackages` (at the time of writing) is just an alias
|
||||
for `haskell.packages.ghc966`:
|
||||
for `haskell.packages.ghc984`:
|
||||
|
||||
Every package set also re-exposes the GHC used to build its packages as `haskell.packages.*.ghc`.
|
||||
|
||||
|
@ -297,8 +297,8 @@ Defaults to `false`.
|
|||
: Whether to build (HTML) documentation using [haddock][haddock].
|
||||
Defaults to `true` if supported.
|
||||
|
||||
`testTarget`
|
||||
: Name of the test suite to build and run. If unset, all test suites will be executed.
|
||||
`testTargets`
|
||||
: Names of the test suites to build and run. If unset, all test suites will be executed.
|
||||
|
||||
`preCompileBuildDriver`
|
||||
: Shell code to run before compiling `Setup.hs`.
|
||||
|
@ -621,6 +621,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`.
|
||||
|
@ -773,7 +779,7 @@ that depend on that library, you may want to use:
|
|||
|
||||
```nix
|
||||
haskellPackages.haskell-ci.overrideScope (self: super: {
|
||||
Cabal = self.Cabal_3_14_1_0;
|
||||
Cabal = self.Cabal_3_14_1_1;
|
||||
})
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue