Skip to content

Commit 9a3a218

Browse files
flake: add zig project
1 parent 6795b77 commit 9a3a218

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

flake.nix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33

44
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
55

6-
outputs = { nixpkgs, ... }:
6+
outputs =
7+
{ nixpkgs, ... }:
78
let
89
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
910
in
1011
{
11-
devShells = forAllSystems (system:
12+
devShells = forAllSystems (
13+
system:
1214
let
1315
pkgs = nixpkgs.legacyPackages.${system};
1416
in
@@ -31,6 +33,10 @@
3133
path = ./template/go;
3234
description = "Setup Go Project";
3335
};
36+
zig = {
37+
path = ./template/zig;
38+
description = "Setup Zig Project";
39+
};
3440
java = {
3541
path = ./template/java;
3642
description = "Setup Java Project";

0 commit comments

Comments
 (0)