Skip to content

Commit

Permalink
nix-darwin add darwinConfig specialArg
Browse files Browse the repository at this point in the history
  • Loading branch information
Pacman99 committed Feb 18, 2021
1 parent 4bc5d0f commit ef92510
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nix-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ let
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;

hmModule = types.submoduleWith {
specialArgs = { lib = extendedLib; };
specialArgs = {
lib = extendedLib;
darwinConfig = config;
};
modules = [
({ name, ... }: {
imports = import ../modules/modules.nix {
Expand Down

0 comments on commit ef92510

Please sign in to comment.