diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index c08915cbc734..bd8a604c809e 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -3904,21 +3904,25 @@ with haskellLib; src = src + "/cachix-api"; } super.cachix-api; - cachix = lib.pipe super.cachix [ - (overrideSrc { - inherit version; - src = src + "/cachix"; - }) - (addBuildDepends [ - self.pqueue - ]) - ( - drv: - drv.override { - nix = self.hercules-ci-cnix-store.nixPackage; - hnix-store-core = self.hnix-store-core_0_8_0_0; - } - ) - ]; + cachix = lib.pipe super.cachix ( + [ + (overrideSrc { + inherit version; + src = src + "/cachix"; + }) + (addBuildDepends [ + self.pqueue + ]) + ( + drv: + drv.override { + nix = self.hercules-ci-cnix-store.nixPackage; + hnix-store-core = self.hnix-store-core_0_8_0_0; + } + ) + ] + # https://github.com/NixOS/nixpkgs/issues/461651 + ++ lib.optional pkgs.stdenv.isDarwin dontCheck + ); } )