summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user-profiles/feeds/module.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/user-profiles/feeds/module.nix b/user-profiles/feeds/module.nix
index 9116fa91..9f7bcf9e 100644
--- a/user-profiles/feeds/module.nix
+++ b/user-profiles/feeds/module.nix
@@ -8,7 +8,23 @@ let
8 configPath = "${config.xdg.configHome}/feeds/notmuchrc"; 8 configPath = "${config.xdg.configHome}/feeds/notmuchrc";
9 databasePath = "${config.xdg.dataHome}/feeds"; 9 databasePath = "${config.xdg.dataHome}/feeds";
10 10
11 imm = flakeInputs.imm.defaultPackage.${system}; 11 imm = flakeInputs.imm.defaultPackage.${system}.overrideAttrs (oldAttrs: {
12 buildInputs =
13 let
14 oldDepends = filter (attr: if attr ? name then builtins.match "uri-bytestring(-.*)?" attr.name == null else true) (oldAttrs.buildInputs or []);
15 newDepends = [
16 (pkgs.haskellPackages.uri-bytestring.overrideAttrs (_: {
17 src = pkgs.fetchFromGitHub {
18 owner = "gkleen";
19 repo = "uri-bytestring";
20 rev = "5f7f32c8274bc4d1b81d99582f5148fe3e8b637e";
21 sha256 = "XLanwyCDIlMuOkpE5LbTNOBfL+1kZX+URfj9Bhs1Nsc=";
22 fetchSubmodules = true;
23 };
24 }))
25 ];
26 in oldDepends ++ newDepends;
27 });
12 immWrapped = pkgs.runCommand "${imm.name}-wrapped-${config.home.username}" 28 immWrapped = pkgs.runCommand "${imm.name}-wrapped-${config.home.username}"
13 { nativeBuildInputs = with pkgs; [ makeWrapper imm ]; 29 { nativeBuildInputs = with pkgs; [ makeWrapper imm ];
14 } '' 30 } ''