From b87edf4c744c12542efa5a0a4b854486952b719e Mon Sep 17 00:00:00 2001 From: Ruben Astudillo Date: Mon, 1 Aug 2022 13:04:29 -0400 Subject: [PATCH] Update to ghc923 --- flake.nix | 4 ++-- stack.yaml | 6 +++++- stack.yaml.lock | 16 ++++++++++++---- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 47e018a..b2b50f1 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ in { overlay = (final: prev: { - pixura-contracts = final.haskell.packages.ghc8107.callPackage (import ./default.nix) { + pixura-contracts = final.haskell.packages.ghc923.callPackage (import ./default.nix) { inherit (final) zlib; }; }); @@ -22,7 +22,7 @@ }); defaultPackage = forAllSystems (system: self.packages.${system}.pixura-contracts); checks = self.packages; - devShell = forAllSystems (system: let haskellPackages = nixpkgsFor.${system}.haskell.packages.ghc8107; + devShell = forAllSystems (system: let haskellPackages = nixpkgsFor.${system}.haskell.packages.ghc923; in haskellPackages.shellFor { packages = p: [self.packages.${system}.pixura-contracts]; withHoogle = true; diff --git a/stack.yaml b/stack.yaml index 0ecc986..bf1b1d4 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,8 +1,12 @@ -resolver: lts-18.25 +resolver: + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/7/28.yaml packages: - "." +allow-newer: true + extra-deps: - git: https://github.com/Pixura/hs-web3 commit: 0713a7664dcb768af311de7a9940906fa5c29f8a + - relapse-1.0.0.0@sha256:b89ea23189e07f377be4e2a4deccf3d6ba7f547ed8ad77e27b35d78801efd81c diff --git a/stack.yaml.lock b/stack.yaml.lock index e13294b..4339590 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -15,9 +15,17 @@ packages: original: commit: 0713a7664dcb768af311de7a9940906fa5c29f8a git: https://github.com/Pixura/hs-web3 +- completed: + pantry-tree: + sha256: a9ceb48aeb57519990a73a33032b97e7b4ce4d329e181ca36bc55425debf4748 + size: 494 + hackage: relapse-1.0.0.0@sha256:b89ea23189e07f377be4e2a4deccf3d6ba7f547ed8ad77e27b35d78801efd81c,1574 + original: + hackage: relapse-1.0.0.0@sha256:b89ea23189e07f377be4e2a4deccf3d6ba7f547ed8ad77e27b35d78801efd81c snapshots: - completed: - sha256: 1b74fb5e970497b5aefae56703f1bd44aa648bd1a5ef95c1eb8c29775087e2bf - size: 587393 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/25.yaml - original: lts-18.25 + sha256: 83cd17c52003e19611bd84c678f78fb0d98828ab8bc300a0b53ff2ae4f894ac5 + size: 617444 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/7/28.yaml + original: + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/7/28.yaml