summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2023-06-10 00:23:02 +1000
committerMichael Hoang <enzime@users.noreply.github.com>2023-07-11 18:59:05 +1000
commitf70f90c42207ede0c3b21b785e2650beeecc161c (patch)
tree24efac2b00583cf898e96e2f294c8853c32a009b /pkgs
parentaeaafcc88a65c6ca18c1b699afbb53e6ff0b5ae2 (diff)
flake: add `packages.darwin-{option,rebuild}`
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/nix-tools/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/nix-tools/default.nix b/pkgs/nix-tools/default.nix
new file mode 100644
index 0000000..93fd3e3
--- /dev/null
+++ b/pkgs/nix-tools/default.nix
@@ -0,0 +1,7 @@
+{ darwin }:
+
+let
+ inherit (darwin) config;
+in {
+ inherit (config.system.build) darwin-option darwin-rebuild;
+}