From acc0e889877dd21235d7ff3961afff6ee9f979fd Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Tue, 10 Oct 2023 05:30:46 +0900 Subject: [PATCH] digest gets system zlib as argument --- CHANGELOG.md | 6 ++++++ nix/build-support/stacklock2nix/cabal2nixArgsForPkg.nix | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bb3494..d28852f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.0.5 + +* Make sure the `digest` Haskell package gets the system `zlib` as an argument. + + Added in [#35](https://github.com/cdepillabout/stacklock2nix/pull/35). + ## 3.0.4 * Remove `dontCheck` override for `haskeline` in diff --git a/nix/build-support/stacklock2nix/cabal2nixArgsForPkg.nix b/nix/build-support/stacklock2nix/cabal2nixArgsForPkg.nix index 6b7eae4..a04978a 100644 --- a/nix/build-support/stacklock2nix/cabal2nixArgsForPkg.nix +++ b/nix/build-support/stacklock2nix/cabal2nixArgsForPkg.nix @@ -62,6 +62,8 @@ cabal2nixArgsOverrides { "cairo" = ver: { cairo = pkgs.cairo; }; + "digest" = ver: { zlib = pkgs.zlib; }; + "gi-cairo" = ver: { cairo = pkgs.cairo; }; "gi-gdk" = ver: { gtk3 = pkgs.gtk3; };