fix regressions due updates in nixpkgs

This commit is contained in:
Jaka Hudoklin 2020-01-15 10:42:29 +00:00 committed by Jaka Hudoklin
parent 1faae85426
commit 13e5edd9f9
No known key found for this signature in database
GPG key ID: D1F18234B07BD6E2
3 changed files with 6 additions and 2 deletions

View file

@ -3,7 +3,7 @@
with lib;
rec {
# TODO: refactor into mkOptionType
# TODO: refactor with mkOptionType
mkSecretOption = {description ? "", default ? {}, allowNull ? true}: mkOption {
inherit description;
type = (if allowNull then types.nullOr else id) (types.submodule {