Revert "Revert "home-manager: use nixos-option from pkgs""

This reverts commit 2c9fe368c1.
This commit is contained in:
Jörg Thalheim 2021-07-10 11:21:04 +02:00
parent 2c9fe368c1
commit ae636c09f4
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ let
pathStr = if path == null then "" else path;
nixos-option =
callPackage (pkgs.path + "/nixos/modules/installer/tools/nixos-option") { };
nixos-option = pkgs.nixos-option or callPackage
(pkgs.path + "/nixos/modules/installer/tools/nixos-option") { };
in runCommand "home-manager" {
preferLocalBuild = true;