From cadf1b587cba9f0c9a9c1e473892a014f19a9419 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Wed, 4 Dec 2024 17:27:47 -0800 Subject: [PATCH] Bump stackage 9.6.4 -> 9.6.6 noci --- flake.nix | 17 +++++++++++++++-- stack/stack-9.6.6.yaml | 2 +- stack/stack-9.6.6.yaml.lock | 8 ++++---- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 621630a..0281eb6 100644 --- a/flake.nix +++ b/flake.nix @@ -7,11 +7,24 @@ inputs.haskellNix.url = "github:input-output-hk/haskell.nix/angerman/fix-install_name_tool"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-24.05"; - outputs = { self, flake-utils, gitignore, haskellNix, nixpkgs }@inputs: - flake-utils.lib.eachDefaultSystem (system: + outputs = { self, flake-utils, gitignore, haskellNix, nixpkgs }: + flake-utils.lib.eachSystem ["x86_64-linux" "x86_64-darwin" "aarch64-darwin"] (system: let overlays = [ haskellNix.overlay + + # Set enableNativeBignum flag on compiler + (final: prev: { + haskell-nix = let + overrideCompiler = name: compiler: (compiler.override { + enableNativeBignum = true; + }); + in + prev.lib.recursiveUpdate prev.haskell-nix { + compiler = prev.lib.mapAttrs overrideCompiler prev.haskell-nix.compiler; + }; + }) + (import ./nix/fix-ghc-pkgs-overlay.nix system) ]; diff --git a/stack/stack-9.6.6.yaml b/stack/stack-9.6.6.yaml index 3a8111e..0b78249 100644 --- a/stack/stack-9.6.6.yaml +++ b/stack/stack-9.6.6.yaml @@ -1,5 +1,5 @@ -resolver: lts-22.41 +resolver: lts-22.43 packages: - ../ diff --git a/stack/stack-9.6.6.yaml.lock b/stack/stack-9.6.6.yaml.lock index 3126f59..6003ad3 100644 --- a/stack/stack-9.6.6.yaml.lock +++ b/stack/stack-9.6.6.yaml.lock @@ -39,7 +39,7 @@ packages: hackage: lsp-types-2.3.0.0 snapshots: - completed: - sha256: 1e32b51d9082fdf6f3bd92accc9dfffd4ddaf406404427fb10bf76d2bc03cbbb - size: 720263 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/41.yaml - original: lts-22.41 + sha256: 08bd13ce621b41a8f5e51456b38d5b46d7783ce114a50ab604d6bbab0d002146 + size: 720271 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/43.yaml + original: lts-22.43