commit 51dace49d6353ea7b65fb4f6ae4ab24cf081eb27
parent cdfd528e20fa07fa9513c9abff57f7e45965b9cc
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 1 Jul 2020 18:55:30 +0200
Revert "wip"
This reverts commit cdfd528e20fa07fa9513c9abff57f7e45965b9cc.
Diffstat:
1 file changed, 3 insertions(+), 4 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,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;
/*