commit cdfd528e20fa07fa9513c9abff57f7e45965b9cc
parent f6852d81ea2b1f70226c411deb267876af506499
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 30 Jun 2020 20:33:35 +0200
wip
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/default.nix b/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,8 +35,9 @@ let
then nixos.vm
else
if system == "x86_64-darwin"
- then (import (pkgs.darwin.path) { inherit nixpkgs configuration; }).system
- else nixos.config.system.build;
+ then (pkgs.darwin { inherit nixpkgs configuration; }).system
+ else
+ nixos.config.system.build;
in
main;
/*