nh: add path option for flake (#6898)

This commit is contained in:
awwpotato
2025-04-28 19:27:29 -07:00
committed by GitHub
parent 4d2baba75e
commit c803a38927

View File

@@ -16,7 +16,7 @@ in
package = lib.mkPackageOption pkgs "nh" { };
flake = lib.mkOption {
type = lib.types.nullOr lib.types.singleLineStr;
type = with lib.types; nullOr (either singleLineStr path);
default = null;
description = ''
The path that will be used for the {env}`FLAKE` environment variable.