From 702fa7b52ea36cdeadcea29b3fdcd6ffc397b43d Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Mon, 21 Mar 2022 00:05:21 +0800 Subject: [PATCH] haskellPackages.update-nix-fetchgit: Patch to make compatible with github-rest version in package set --- .../development/haskell-modules/configuration-common.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 23d0d3b4efb9..798d1720eb85 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1552,7 +1552,14 @@ self: super: { pkgs.lib.makeBinPath deps }" ''; - }) (addTestToolDepends deps super.update-nix-fetchgit)); + }) (addTestToolDepends deps ( + appendPatch (pkgs.fetchpatch { + url = "https://github.com/expipiplus1/update-nix-fetchgit/commit/2a4229b04aaeec025f1400a39f4e6390af760b54.patch"; + sha256 = "sha256-G3abFWykpvtsh8l3GZhkNUpBo7zRb9Ve4d6mjizysIo="; + includes = [ "src/Update/Nix/FetchGit/Prefetch.hs" ]; + }) + super.update-nix-fetchgit))); + # Our quickcheck-instances is too old for the newer binary-instances, but # quickcheck-instances is only used in the tests of binary-instances.