From fbb03f7c56e848c21fea046f7150236d2a34ebe2 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 9 Mar 2023 18:26:24 +0000 Subject: Add gitfs patch --- modules/packages/gitfs.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 modules/packages/gitfs.nix (limited to 'modules') 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="; + }) + ]; + }) + )]; +} -- cgit 1.5.1