From 76261cd6beead4df892cbb0a37ca2e03f4927526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 14 Mar 2023 13:50:21 +0000 Subject: [PATCH] hercules-ci-agent: patch for cachix 1.3 --- pkgs/development/haskell-modules/configuration-nix.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 045be54b4b41..f0d6c5842140 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -944,7 +944,14 @@ self: super: builtins.intersectAttrs super { }) super.cachix-api; - hercules-ci-agent = super.hercules-ci-agent.override { nix = pkgs.nixVersions.nix_2_9; }; + hercules-ci-agent = + appendPatch (pkgs.fetchpatch { + name = "hercules-ci-agent-support-cachix-1.3.patch"; + url = "https://github.com/hercules-ci/hercules-ci-agent/pull/500.diff"; + sha256 = "sha256-ErrFvzB1NiIJLpsP2wfx5CX8DnH1x5i/ijQZEeuOzeI="; + relative = "hercules-ci-agent"; + }) + (super.hercules-ci-agent.override { nix = pkgs.nixVersions.nix_2_9; }); hercules-ci-cnix-expr = addTestToolDepend pkgs.git ( super.hercules-ci-cnix-expr.override { nix = pkgs.nixVersions.nix_2_9; }