-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathflake.nix
More file actions
26 lines (23 loc) · 873 Bytes
/
flake.nix
File metadata and controls
26 lines (23 loc) · 873 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
flake-utils.url = "github:numtide/flake-utils";
fabricate.url = "github:elysium-os/fabricate";
fabricate.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { nixpkgs, flake-utils, ... } @ inputs: flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in {
devShells.default = pkgs.mkShell {
shellHook = "export NIX_SHELL_NAME='cronus'";
nativeBuildInputs = with pkgs; [
inputs.fabricate.defaultPackage.${system}
ninja
llvmPackages_19.clangUseLLVM
llvmPackages_19.clang-tools
llvmPackages_19.bintools
nasm
];
};
}
);
}