fix: nixpkgs for darwin

This commit is contained in:
Ryan Yin
2024-06-02 12:59:13 +08:00
parent 9adf87aaf5
commit f37588df64
4 changed files with 9 additions and 26 deletions

View File

@@ -9,7 +9,7 @@
specialArgs ? (genSpecialArgs system),
...
}: let
inherit (inputs) nixpkgs home-manager nix-darwin;
inherit (inputs) nixpkgs-darwin home-manager nix-darwin;
in
nix-darwin.lib.darwinSystem {
inherit system specialArgs;
@@ -17,7 +17,7 @@ in
darwin-modules
++ [
({lib, ...}: {
nixpkgs.pkgs = import nixpkgs {inherit system;};
nixpkgs.pkgs = import nixpkgs-darwin {inherit system;};
})
]
++ (