about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/user/aszlig/profiles/base.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index 681a044a..36004121 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -66,7 +66,7 @@ in {
       allowBroken = true;
     };
 
-    nixpkgs.overlays = lib.singleton (lib.const (super: {
+    nixpkgs.overlays = lib.singleton (self: super: {
       netrw = super.netrw.override {
         checksumType = "mhash";
       };
@@ -78,7 +78,17 @@ in {
       w3m = super.w3m.override {
         graphicsSupport = true;
       };
-    }));
+
+      # Fix for segfault during config validation:
+      # https://github.com/i3/i3/pull/5173
+      i3 = super.i3.overrideAttrs (drv: {
+        patches = lib.singleton (self.fetchpatch {
+          url = "https://github.com/i3/i3/commit/"
+              + "d0ef4000e9f49d2ef33d6014a4b61339bb787363.patch";
+          hash = "sha256-Njdl/XnBypxg2Ytk/phxVfYhdnJHgDshLo9pTYk5o2I";
+        });
+      });
+    });
 
     system.fsPackages = with pkgs; [ sshfs-fuse ];
     time.timeZone = "Europe/Berlin";