-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
40 lines (35 loc) · 953 Bytes
/
Copy pathflake.nix
File metadata and controls
40 lines (35 loc) · 953 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
28
29
30
31
32
33
34
35
36
37
38
39
40
{
description = "Phosphor — physically-based X-Y CRT simulator";
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
flake-parts.url = "https://flakehub.com/f/hercules-ci/flake-parts/0.1";
crane.url = "https://flakehub.com/f/ipetkov/crane/*";
fenix = {
url = "https://flakehub.com/f/nix-community/fenix/0.1";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
inputs.flake-parts.flakeModules.partitions
./flake/packages.nix
./flake/checks.nix
];
partitionedAttrs = {
devShells = "dev";
checks = "dev";
apps = "dev";
};
partitions.dev = {
extraInputsFlake = ./dev;
module.imports = [
./dev/flake-module.nix
];
};
};
}