-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
27 lines (26 loc) · 884 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
{
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
# default = Darwin+Linux+x86+ARM, or default-linux, default-darwin, etc.
# see https://github.com/nix-systems/
systems.url = "github:nix-systems/default";
};
outputs = inputs@{ flake-parts, systems, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = (import systems);
perSystem = { config, self', inputs', pkgs, system, ... }: {
devShells.default = pkgs.mkShell {
# packages needed for building the software in this repo
nativeBuildInputs = with pkgs; [
zola
];
# packages needed at runtime for running software in this repo
packages = with pkgs; [
mask
vendir
];
};
};
};
}