From 7d3dbec3cc7f68313fa3d1d05a7f066a786e166e Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 14 Nov 2021 11:21:27 +0100 Subject: [PATCH] haskellPackages.git-annex: move input overrides to configuration-nix --- pkgs/development/haskell-modules/configuration-common.nix | 6 +----- pkgs/development/haskell-modules/configuration-nix.nix | 6 +++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 44c6d7d97f19..ff5e9be647ed 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -74,11 +74,7 @@ self: super: { rm -r $out/doc/?ndroid* ''; }; - } super.git-annex).override { - dbus = if pkgs.stdenv.isLinux then self.dbus else null; - fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null; - hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify; - }; + } super.git-annex); # Fix test trying to access /home directory shell-conduit = overrideCabal (drv: { diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 55efeeaef432..3d29f484e0cd 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -535,7 +535,11 @@ self: super: builtins.intersectAttrs super { buildTools = [ pkgs.buildPackages.makeWrapper ] ++ (drv.buildTools or []); - }) super.git-annex; + }) (super.git-annex.override { + dbus = if pkgs.stdenv.isLinux then self.dbus else null; + fdo-notify = if pkgs.stdenv.isLinux then self.fdo-notify else null; + hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify; + }); # The test suite has undeclared dependencies on git. githash = dontCheck super.githash;