-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
38 lines (35 loc) · 1.02 KB
/
Copy pathflake.nix
File metadata and controls
38 lines (35 loc) · 1.02 KB
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
28
29
30
31
32
33
34
35
36
37
38
{
description = "Environments tailored to your projects' needs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# don't break library if `nixpkgs` is overridden (as it may well be!)
nixpkgs-lib.url = "github:nixos/nixpkgs/nixpkgs-unstable?dir=lib";
};
outputs =
inputs:
let
conch = import ./lib { inherit inputs; };
in
{
inherit (conch) configure;
lib = conch;
templates = {
default = {
description = "Default template suitable as starting point";
path = ./templates/default;
};
nixpkgs = {
description = "Template showing nixpkgs overlay being applied";
path = ./templates/nixpkgs;
};
rust = {
description = "Rust template with devshell";
path = ./templates/rust;
};
rust-with-packages = {
description = "Rust template with devshell and package outputs";
path = ./templates/rust-with-packages;
};
};
};
}