home-manager: fix nixos-option fallback

This commit is contained in:
Jörg Thalheim 2021-07-10 11:36:07 +02:00
parent ae636c09f4
commit 9ed7a73ae2

View file

@ -11,8 +11,8 @@ let
pathStr = if path == null then "" else path;
nixos-option = pkgs.nixos-option or 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;