summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-09 18:26:24 +0000
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-09 18:27:37 +0000
commitfbb03f7c56e848c21fea046f7150236d2a34ebe2 (patch)
tree0c58791b8cc754d46dfff7f478887117bc8b2bad /modules
parentAdd multithreading to rebuild (diff)
downloadRory-Open-Architecture-fbb03f7c56e848c21fea046f7150236d2a34ebe2.tar.xz
Add gitfs patch
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=";
+        })
+      ];
+    })
+  )];
+}