forked from save-nix-together/open-letter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
32 lines (28 loc) · 833 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
#
# Configuration for running the lab notebook environment.
#
# vim: et:ts=2:sw=2:
#
{
#
# The sources we depend on.
#
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
};
outputs = { self, nixpkgs }: {
#
# Host environment setup; makes our development package available.
# TODO: use flake-utils to set this for every platform
#
devShell.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.mkShell {
buildInputs = [ nixpkgs.legacyPackages.x86_64-linux.hugo ];
};
devShell.x86_64-darwin = nixpkgs.legacyPackages.x86_64-darwin.mkShell {
buildInputs = [ nixpkgs.legacyPackages.x86_64-darwin.hugo ];
};
devShell.aarch64-darwin = nixpkgs.legacyPackages.aarch64-darwin.mkShell {
buildInputs = [ nixpkgs.legacyPackages.aarch64-darwin.hugo ];
};
};
}