diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/darwin-packages.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/top-level/darwin-packages.nix b/pkgs/top-level/darwin-packages.nix index fa03c385e4f34..a583b84b430d6 100644 --- a/pkgs/top-level/darwin-packages.nix +++ b/pkgs/top-level/darwin-packages.nix @@ -229,7 +229,7 @@ impure-cmds // appleSourcePackages // chooseLibs // { discrete-scroll = callPackage ../os-specific/darwin/discrete-scroll { }; # See doc/builders/special/darwin-builder.section.md - builder = + builder = lib.makeOverridable ({ modules }: let toGuest = builtins.replaceStrings [ "darwin" ] [ "linux" ]; @@ -237,7 +237,7 @@ impure-cmds // appleSourcePackages // chooseLibs // { configuration = { imports = [ ../../nixos/modules/profiles/macos-builder.nix - ]; + ] ++ modules; virtualisation.host = { inherit pkgs; }; }; @@ -246,5 +246,5 @@ impure-cmds // appleSourcePackages // chooseLibs // { }; in - nixos.config.system.build.macos-builder-installer; + nixos.config.system.build.macos-builder-installer) { modules = [ ]; }; }) |