summary refs log tree commit diff
path: root/modules/packages/gitfs.nix
blob: 728e8360bdd2d0c6da317a5cd83c619e5bff6364 (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=";
        })
      ];
    }))
  ];
}