From ae636c09f452f351d3983a6aac101de20db18b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 10 Jul 2021 11:21:04 +0200 Subject: [PATCH] Revert "Revert "home-manager: use nixos-option from pkgs"" This reverts commit 2c9fe368c1b5d79d504e3111ebaa97e90192fbb4. --- 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 ecdea9e7..1be712b5 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;