diff --git a/overlays/haskell.nix b/overlays/haskell.nix index 0fc65f66c2..4eff1c0a5f 100644 --- a/overlays/haskell.nix +++ b/overlays/haskell.nix @@ -9,10 +9,10 @@ final: prev: { # Default modules, these will always be included. # They are here to be overridden/added to by other # overlays. - defaultModules = []; + defaultModules = prev.haskell-nix.defaultModules or []; # Additional user-provided mappings to augment ./../lib/pkgconf-nixpkgs-map.nix - extraPkgconfigMappings = {}; + extraPkgconfigMappings = prev.haskell-nix.extraPkgconfigMappings or {}; # Nix Flake based source pins. # To update all inputs, get unstable Nix and then `nix flake update --recreate-lock-file` # Or `nix-shell -p nixUnstable --run "nix --experimental-features 'nix-command flakes' flake update --recreate-lock-file"`