blob: ff7efd91a6826ecdbcbd74ac49ac9b8ee4d82e83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-darwin" "aarch64-darwin" "x86_64-linux" ];
createDevShell = system:
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
buildInputs = [
pkgs.zig
];
};
in
{
devShell = nixpkgs.lib.genAttrs systems createDevShell;
};
}
|