-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (28 loc) · 747 Bytes
/
flake.nix
File metadata and controls
30 lines (28 loc) · 747 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
{
description = "Zig bindings for libui-ng";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
zig-overlay.url = "github:mitchellh/zig-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, zig-overlay }:
flake-utils.lib.eachSystem ["x86_64-linux"]
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
zig = zig-overlay.packages.${system};
in
{
devShells = {
default = pkgs.mkShell {
buildInputs = [
zig.master-2024-01-07
pkgs.pkg-config
pkgs.gtk3
pkgs.gdb
];
};
};
}
);
}