1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 17:19:45 +01: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;