summary refs log tree commit diff
path: root/packages/gitfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitfs.nix')
-rwxr-xr-xpackages/gitfs.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gitfs.nix b/packages/gitfs.nix
new file mode 100755

index 0000000..728e836 --- /dev/null +++ b/packages/gitfs.nix
@@ -0,0 +1,17 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + (gitfs.overrideAttrs (old: { + # TODO: pls fix the nixpkgs derivation + patchPhase = null; + postPatch = old.patchPhase; + 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="; + }) + ]; + })) + ]; +}