blob: a840a52f0cfe7e8e0277642284a25c4897b8e876 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ pkgs, ... }:
let
mozlz4_textconv = pkgs.runCommand "mozlz4-textconv" {
inherit (pkgs) execline mozlz4a;
python = pkgs.python3;
} ''
substituteAll ${diff/mozlz4.in} $out
chmod +x $out
'';
config = pkgs.runCommand "gitconfig" {
inherit mozlz4_textconv;
python = pkgs.python3;
attributesfile = ./attributes;
ignorefile = ./ignore;
preferLocalBuild = true;
} ''
substituteAll ${./config.in} $out
'';
in
{
environment.systemPackages = with pkgs; [ gitSVN ];
xdg.config.users.qyliss.paths."git/config" = config;
}
|