diff options
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2,15 +2,13 @@ description = "Zig project flake"; inputs = { + self.submodules = true; zig2nix.url = "github:Cloudef/zig2nix"; }; outputs = { zig2nix, ... }: let flake-utils = zig2nix.inputs.flake-utils; in (flake-utils.lib.eachDefaultSystem (system: let - # Zig flake helper - # Check the flake.nix in zig2nix project for more options: - # <https://github.com/Cloudef/zig2nix/blob/master/flake.nix> env = zig2nix.outputs.zig-env.${system} {}; in with builtins; with env.pkgs.lib; rec { apps.default = env.app [] "zig build run -- \"$@\""; |
