forked from ClassIsland/ClassIsland
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
23 lines (22 loc) · 646 Bytes
/
flake.nix
File metadata and controls
23 lines (22 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{
nixpkgs,
flake-utils,
...
}:
# TODO: darwin support
flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
packages.classisland = pkgs.callPackage ./tools/nix/classisland.nix { };
packages.classisland-bin = pkgs.callPackage ./tools/nix/classisland-bin.nix { };
packages.default = pkgs.callPackage ./tools/nix/classisland-bin.nix { };
}
);
}