summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/packages/gitfs.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/packages/gitfs.nix b/modules/packages/gitfs.nix
new file mode 100755
index 0000000..89bb2e2
--- /dev/null
+++ b/modules/packages/gitfs.nix
@@ -0,0 +1,14 @@
+{ pkgs, ... }:
+{
+  environment.systemPackages = with pkgs; [
+    (gitfs.overrideAttrs (old: {
+      patches = (old.patches or []) ++ [
+        (fetchpatch {
+          name = "fix-MutableMapping.patch";
+          url = "https://patch-diff.githubusercontent.com/raw/presslabs/gitfs/pull/382.diff";
+          hash = "sha256-ZaIEhv37sorSq3P+6GeH346u/5xh3qE+49D9FRNujMQ=";
+        })
+      ];
+    })
+  )];
+}