Commit 51dace49d635
Changed files (1)
default.nix
@@ -2,7 +2,7 @@
, lib ? sources.lib
, pkgs ? sources.pkgs { }
, pkgs-unstable ? sources.pkgs-unstable { }
-, pkgs-darwin ? sources.nix-darwin { }
+, pkgs-darwin ? sources.nix-darwin
, nixpkgs ? sources.nixpkgs { }
}:
with builtins; with lib;
@@ -35,9 +35,8 @@ let
then nixos.vm
else
if system == "x86_64-darwin"
- then (pkgs.darwin { inherit nixpkgs configuration; }).system
- else
- nixos.config.system.build;
+ then (import (pkgs.darwin.path) { inherit nixpkgs configuration; }).system
+ else nixos.config.system.build;
in
main;
/*