summary refs log tree commit diff
path: root/modules/packages/gitfs.nix
blob: 804a7474675b77a9c00ad8136015e5e49d5b3d3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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=";
    })
  ];
})
  )];
}