forked from mirrors/nixpkgs
Merge pull request #206950 from hercules-ci/fix-hercules-ci-agent-cachix-1.1
Fix hercules ci agent for cachix 1.1
This commit is contained in:
commit
144b059ad3
|
@ -12,7 +12,7 @@
|
|||
{ pkgs, haskellLib }:
|
||||
|
||||
let
|
||||
inherit (pkgs) fetchpatch lib;
|
||||
inherit (pkgs) fetchpatch fetchpatch2 lib;
|
||||
inherit (lib) throwIfNot versionOlder;
|
||||
in
|
||||
|
||||
|
@ -1733,6 +1733,14 @@ self: super: {
|
|||
sha256 = "sha256-0dtmNL1rqzeXvXWinfANc57a5LIM3uNnhR3A+p8mH0A=";
|
||||
stripLen = 1;
|
||||
})
|
||||
# haskell-updates branch, will be merged in 0.9.10
|
||||
(fetchpatch2 {
|
||||
name = "hercules-ci-agent-cachix-1.1";
|
||||
url = "https://github.com/hercules-ci/hercules-ci-agent/commit/b76d888548da37a96ae47f1be871de6605d38edd.patch";
|
||||
sha256 = "sha256-kqEkDHbatcYS8LuQlGV/1j/6LXWviQoDQAHDr6DBbDU=";
|
||||
stripLen = 1;
|
||||
includes = [ "*.hs" ];
|
||||
})
|
||||
])
|
||||
(self.generateOptparseApplicativeCompletions [ "hercules-ci-agent" ])
|
||||
];
|
||||
|
|
|
@ -18628,7 +18628,13 @@ with pkgs;
|
|||
c-blosc = callPackage ../development/libraries/c-blosc { };
|
||||
|
||||
# justStaticExecutables is needed due to https://github.com/NixOS/nix/issues/2990
|
||||
cachix = haskell.lib.compose.justStaticExecutables haskellPackages.cachix;
|
||||
cachix = (haskell.lib.compose.justStaticExecutables haskellPackages.cachix).overrideAttrs(o: {
|
||||
passthru = o.passthru or {} // {
|
||||
tests = o.passthru.tests or {} // {
|
||||
inherit hci;
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
cubeb = callPackage ../development/libraries/audio/cubeb { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue