warbo-utilities: baf514c24befc2339924701f8edaad749121c053
1: From: Chris Warburton
2: Date: Fri, 08 Jun 2018 13:12:08 +0100
3: State: new
4: Subject: Make trackGit add default.nix
5: Message-Id: <daf4a9b3aa678b9b-0-artemis@nixos>
6:
7: trackGit should look for a default.nix file and ask if we want one. If
8: yes, it should copy in a template from ~/.templates like:
9:
10: {
11: packageOnly ? true,
12: pkgs ? import ./pkgs.nix,
13: /* OTHER DEPENDENCIES GO HERE*/
14: }:
15: with builtins;
16: with pkgs;
17: with { defs = rec {
18: package = abort "Replace this with your main package derivation";
19: }; };
20: if packageOnly
21: then defs.package
22: else defs
Generated by git2html.