mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
Revert "Revert "home-manager: use nixos-option from pkgs""
This reverts commit 2c9fe368c1.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user