From f30c466d27ba1138a7a498e6f49a8ae6c5d9c531 Mon Sep 17 00:00:00 2001 From: Denis Date: Sun, 13 Mar 2022 13:21:49 +0100 Subject: [PATCH] fix home-manager docs import path --- src/options_docsource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options_docsource.rs b/src/options_docsource.rs index 56a363a..d80fec1 100644 --- a/src/options_docsource.rs +++ b/src/options_docsource.rs @@ -107,7 +107,7 @@ pub fn get_hm_json_doc_path() -> Result { r#"{ pkgs ? import {} }: let hmargs = { pkgs = pkgs; lib = import () pkgs.lib; }; - docs = import () hmargs; + docs = import () hmargs; in (if builtins.isFunction docs then docs hmargs else docs).options.json "#) .output()