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 15:44:13 -04:00 committed by GitHub
parent 2d8ab98b1e
commit 47db174a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.