From d7d7bbbf20b17444d8843b47df727d16d84b840d Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 10 Jul 2021 09:34:33 +0200 Subject: [PATCH] home-manager: use nixos-option from pkgs Fixes #2170 --- home-manager/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/default.nix b/home-manager/default.nix index ecdea9e7b..1be712b5a 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -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;