-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
30 lines (27 loc) · 735 Bytes
/
Copy pathflake.nix
File metadata and controls
30 lines (27 loc) · 735 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 = "A collection of runnable Zig examples, used as the companion to the 'Zig Bytes' series.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs =
{ nixpkgs, flake-parts, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
perSystem =
{ lib, pkgs, ... }:
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
# NOTE: keep this in sync with 'build.zig'
zig_0_13
];
};
};
};
}