forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (30 loc) · 775 Bytes
/
flake.nix
File metadata and controls
34 lines (30 loc) · 775 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
# SPDX-License-Identifier: GPL-2.0
{
description = "Skulled linux source";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
zig-flake = {
url = "github:silversquirl/zig-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, zig-flake }:
let
forAllSystems = function:
nixpkgs.lib.genAttrs [
"x86_64-linux"
] (system:
function (import nixpkgs {
inherit system;
overlays = [
(_: _: {
zig = zig-flake.packages.${system}.zig_0_15_2;
})
];
}));
in {
devShells = forAllSystems (pkgs: {
default = pkgs.callPackage ./nix/devShell.nix {};
});
};
}