1
0
Fork 0
mirror of https://github.com/mitchellh/zig-overlay.git synced 2025-05-08 18:46:02 +03:00

rewritten default.nix/flake.nix

This commit is contained in:
Mitchell Hashimoto 2022-08-22 19:07:41 -07:00
parent 1e89c6da81
commit f0c4a8c91b
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC
2 changed files with 31 additions and 15 deletions

View file

@ -14,8 +14,9 @@
let pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages = import ./default.nix { inherit system pkgs; };
defaultPackage = packages."0.9.1";
apps.zig = flake-utils.lib.mkApp { drv = defaultPackage; };
defaultApp = apps.zig;
apps = rec {
default = apps.zig;
zig = flake-utils.lib.mkApp { drv = packages.default; };
};
});
}