summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-11-17 02:14:06 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-11-21 11:07:47 +1100
commit60ed03d0b10fa88054a73a0d34338f03f8d73f53 (patch)
tree361283ffb48281562fff4ee31e2ef762ead9cb11 /default.nix
parent62f9402af0a5412045385b8ba4cb79bd8880a2c3 (diff)
installer: remove
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix17
1 files changed, 2 insertions, 15 deletions
diff --git a/default.nix b/default.nix
index c93b478..075ae6d 100644
--- a/default.nix
+++ b/default.nix
@@ -1,8 +1,8 @@
{ nixpkgs ? <nixpkgs>
, configuration ? <darwin-config>
-, lib ? pkgs.lib
-, pkgs ? import nixpkgs { inherit system; }
, system ? builtins.currentSystem
+, pkgs ? import nixpkgs { inherit system; }
+, lib ? pkgs.lib
}:
let
@@ -15,20 +15,7 @@ let
nixpkgs.system = lib.mkDefault system;
};
};
-
- # The source code of this repo needed by the installer.
- nix-darwin = lib.cleanSource (
- lib.cleanSourceWith {
- # We explicitly specify a name here otherwise `cleanSource` will use the
- # basename of ./. which might be different for different clones of this
- # repo leading to non-reproducible outputs.
- name = "nix-darwin";
- src = ./.;
- }
- );
in
-
eval // {
- installer = pkgs.callPackage ./pkgs/darwin-installer { inherit nix-darwin; };
uninstaller = pkgs.callPackage ./pkgs/darwin-uninstaller { };
}