haskellPackages: Fix eval errors

This commit is contained in:
maralorn 2024-01-01 19:16:21 +01:00
parent 7b4156edda
commit 5518af0a55

View File

@ -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.