-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
33 lines (31 loc) · 865 Bytes
/
flake.nix
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
{
description = "Emacs package";
inputs = {
eldev.flake = false;
eldev.url = "github:doublep/eldev/1.3.1";
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
emacs-overlay.url = "github:nix-community/emacs-overlay";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
std.inputs.nixpkgs.follows = "nixpkgs";
std.url = "github:divnix/std";
};
outputs = {
std,
self,
...
} @ inputs:
std.growOn {
inherit inputs;
cellsFrom = ./nix;
cellBlocks = with std.blockTypes; [
(functions "lib")
(installables "packages")
(installables "devshells")
];
}
{
devShells = std.harvest self ["automation" "devshells"];
packages = std.harvest self ["main" "packages"];
checks = std.harvest self [["automation" "packages"] ["main" "packages"]];
};
}