remove createFile legacy alias from vars/interface
it's hard to filter this out in nix. So instead we just drop this option.
This commit is contained in:
@@ -43,9 +43,8 @@ in
|
|||||||
validationHash
|
validationHash
|
||||||
migrateFact
|
migrateFact
|
||||||
share
|
share
|
||||||
|
prompts
|
||||||
;
|
;
|
||||||
# createFile is deprecated.
|
|
||||||
prompts = (lib.removeAttrs generator.prompts [ "createFile" ]);
|
|
||||||
|
|
||||||
files = lib.flip lib.mapAttrs generator.files (
|
files = lib.flip lib.mapAttrs generator.files (
|
||||||
_name: file: {
|
_name: file: {
|
||||||
|
|||||||
@@ -259,9 +259,6 @@ in
|
|||||||
default = { };
|
default = { };
|
||||||
type = attrsOf (
|
type = attrsOf (
|
||||||
submodule (prompt: {
|
submodule (prompt: {
|
||||||
imports = [
|
|
||||||
(lib.mkRenamedOptionModule [ "createFile" ] [ "persist" ])
|
|
||||||
];
|
|
||||||
options = {
|
options = {
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user