diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2023-06-10 00:23:02 +1000 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-07-11 18:59:05 +1000 |
| commit | f70f90c42207ede0c3b21b785e2650beeecc161c (patch) | |
| tree | 24efac2b00583cf898e96e2f294c8853c32a009b /flake.nix | |
| parent | aeaafcc88a65c6ca18c1b699afbb53e6ff0b5ae2 (diff) | |
flake: add `packages.darwin-{option,rebuild}`
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -64,7 +64,18 @@ packages = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; + + darwin = self.lib.darwinSystem { + inherit system; + modules = [ ]; + }; + + nix-tools = pkgs.callPackage ./pkgs/nix-tools { inherit darwin; }; in { + default = self.packages.${system}.darwin-rebuild; + + inherit (nix-tools) darwin-rebuild darwin-option; + darwin-uninstaller = pkgs.callPackage ./pkgs/darwin-uninstaller { nix-darwin = self; }; }); }; |
