mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
haskellPackages: Fix eval errors
This commit is contained in:
parent
7b4156edda
commit
5518af0a55
@ -3,13 +3,13 @@
|
|||||||
# See: https://www.haskellforall.com/2022/12/nixpkgs-support-for-incremental-haskell.html
|
# See: https://www.haskellforall.com/2022/12/nixpkgs-support-for-incremental-haskell.html
|
||||||
# See: https://felixspringer.xyz/homepage/blog/incrementalHaskellBuildsWithNix
|
# See: https://felixspringer.xyz/homepage/blog/incrementalHaskellBuildsWithNix
|
||||||
|
|
||||||
{ haskell, lib }:
|
{ haskell, haskellPackages, lib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (haskell.lib.compose) overrideCabal;
|
inherit (haskell.lib.compose) overrideCabal;
|
||||||
|
|
||||||
# Incremental builds work with GHC >=9.4.
|
# Incremental builds work with GHC >=9.4.
|
||||||
temporary = haskell.haskellPackages.temporary;
|
temporary = haskellPackages.temporary;
|
||||||
|
|
||||||
# This will do a full build of `temporary`, while writing the intermediate build products
|
# This will do a full build of `temporary`, while writing the intermediate build products
|
||||||
# (compiled modules, etc.) to the `intermediates` output.
|
# (compiled modules, etc.) to the `intermediates` output.
|
||||||
|
Loading…
Reference in New Issue
Block a user