From 1bf66ae55bc982a89b706fbc1e5abdfc55acc2a8 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 25 May 2025 02:51:06 -0700 Subject: Nara: Upgrade Determinate and nix-darwin --- lib/kansai-pkgs.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/kansai-pkgs.nix b/lib/kansai-pkgs.nix index 8e04078..916cb87 100644 --- a/lib/kansai-pkgs.nix +++ b/lib/kansai-pkgs.nix @@ -1,6 +1,7 @@ { systemsAttributes, nixpkgs, + nixpkgs-darwin, self, inputs, }: @@ -9,10 +10,11 @@ nixpkgsCudaSupport ? false, nixpkgsAllowUnfreePredicate ? [ ], nixpkgsExtraConfig ? { }, + nixpkgsIsDarwin ? false, }: (systemsAttributes ( system: - import nixpkgs { + import (if nixpkgsIsDarwin then nixpkgs-darwin else nixpkgs) { inherit system; overlays = (import "${self}/lib/overlays.nix" { inherit self; }) ++ [ -- cgit v1.2.3