accept strings as source
This commit is contained in:
parent
e7fa12d6f3
commit
8251efc384
1 changed files with 3 additions and 1 deletions
|
@ -43,9 +43,11 @@
|
|||
bool
|
||||
nullOr
|
||||
lines
|
||||
str
|
||||
path
|
||||
int
|
||||
attrsOf
|
||||
either
|
||||
;
|
||||
fileType = submodule (
|
||||
{ options, ... }:
|
||||
|
@ -63,7 +65,7 @@
|
|||
};
|
||||
|
||||
source = mkOption {
|
||||
type = nullOr path;
|
||||
type = nullOr (either path str);
|
||||
default = null;
|
||||
description = "Path of the source file or directory";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue