abouttreesummaryrefslogcommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 5022167..3c33dce 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 -- \"$@\"";