1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-03 05:23:32 +02:00

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

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;