1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00

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.