Skip to content

Commit eca7927

Browse files
cachix: clean up obsolete overrides
1 parent 2e2e06d commit eca7927

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

pkgs/development/haskell-modules/configuration-arm.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ self: super:
5353
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch64 {
5454
# AARCH64-SPECIFIC OVERRIDES
5555

56-
# Corrupted store path https://github.com/NixOS/nixpkgs/pull/272097#issuecomment-1848414265
57-
cachix = triggerRebuild 1 super.cachix;
58-
5956
# Doctests fail on aarch64 due to a GHCi linking bug
6057
# https://gitlab.haskell.org/ghc/ghc/-/issues/15275#note_295437
6158
# TODO: figure out if needed on aarch32 as well

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ with haskellLib;
720720

721721
# Manually maintained
722722
cachix-api = overrideCabal (drv: {
723+
# FIXME: should use overrideSrc
723724
version = "1.7.9";
724725
src = pkgs.fetchFromGitHub {
725726
owner = "cachix";
@@ -732,6 +733,7 @@ with haskellLib;
732733
cachix = (
733734
overrideCabal
734735
(drv: {
736+
# FIXME: should use overrideSrc
735737
version = "1.7.9";
736738
src = pkgs.fetchFromGitHub {
737739
owner = "cachix";
@@ -746,15 +748,9 @@ with haskellLib;
746748
'';
747749
})
748750
(
749-
lib.pipe
750-
(super.cachix.override {
751-
nix = self.hercules-ci-cnix-store.nixPackage;
752-
})
753-
[
754-
(addBuildTool self.hercules-ci-cnix-store.nixPackage)
755-
(addBuildTool pkgs.buildPackages.pkg-config)
756-
(addBuildDepend self.hnix-store-nar)
757-
]
751+
super.cachix.override {
752+
nix = self.hercules-ci-cnix-store.nixPackage;
753+
}
758754
)
759755
);
760756

0 commit comments

Comments
 (0)