nixos/self-deploy: make nixAttribute nullable (#125617)

Allows using a nix file that directly provides the derivation
This commit is contained in:
Ashlynn Anderson
2021-06-07 12:44:13 -07:00
committed by GitHub
parent 2d8ab98b1e
commit 47db174a3c
@@ -37,7 +37,9 @@ in
};
nixAttribute = lib.mkOption {
type = lib.types.str;
type = with lib.types; nullOr str;
default = null;
description = ''
Attribute of `nixFile` that builds the current system.