mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
fix evaluation of darwin.pkgs for recent nixpkgs
The _module attribute was renamed in dcdd232939
.
This commit is contained in:
parent
1ffae69c56
commit
073935fb99
1 changed files with 5 additions and 1 deletions
|
@ -20,10 +20,14 @@ let
|
|||
specialArgs = { modulesPath = ./modules; };
|
||||
check = true;
|
||||
};
|
||||
|
||||
# Was moved in nixpkgs #82751, so both need to be handled here until 20.03 is deprecated.
|
||||
# https://github.com/NixOS/nixpkgs/commits/dcdd232939232d04c1132b4cc242dd3dac44be8c
|
||||
_module = eval._module or eval.config._module;
|
||||
in
|
||||
|
||||
{
|
||||
inherit (eval.config._module.args) pkgs;
|
||||
inherit (_module.args) pkgs;
|
||||
inherit (eval) options config;
|
||||
|
||||
system = eval.config.system.build.toplevel;
|
||||
|
|
Loading…
Add table
Reference in a new issue