12 lines
162 B
Nix
12 lines
162 B
Nix
{ pkgs, ... }:
|
|
let
|
|
post-recv = dest: pkgs.writeScriptBin "post-recv" ''
|
|
git clone . ${dest}
|
|
'';
|
|
in
|
|
let
|
|
lib.git = {
|
|
inherit post-recv;
|
|
};
|
|
in
|
|
lib
|