forked from mirrors/nixpkgs
nixos/self-deploy: make nixAttribute nullable (#125617)
Allows using a nix file that directly provides the derivation
This commit is contained in:
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.
|
||||
|
|
Loading…
Reference in a new issue