1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00

home-manager: use nixos-option from pkgs

Fixes #2170
This commit is contained in:
Robert Helgesson 2021-07-10 09:34:33 +02:00
parent 06ee8ec8df
commit d7d7bbbf20
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

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;