-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathflake.nix
More file actions
27 lines (23 loc) · 791 Bytes
/
flake.nix
File metadata and controls
27 lines (23 loc) · 791 Bytes
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
{
description = "ZilchOS Core";
inputs.bootstrap-from-tcc.url = "github:ZilchOS/bootstrap-from-tcc";
outputs = { self, bootstrap-from-tcc }:
let
bootstrapPkgs = bootstrap-from-tcc.packages.x86_64-linux;
input = {
bootstrap-musl = bootstrapPkgs.libc;
bootstrap-toolchain = bootstrapPkgs.toolchain;
bootstrap-busybox = bootstrapPkgs.busybox;
};
corePkgs = (import ./pkgs) input;
in
{
packages.x86_64-linux = corePkgs // {
default = "${corePkgs.live-cd.iso}";
};
ccachedPackages =
(import ./pkgs) (input // { use-ccache = true; });
lib = (import ./lib); # a non-standard output
hydraJobs = builtins.mapAttrs (_: drv: {x86_64-linux = drv;}) corePkgs;
};
}