Compare commits

...

2 commits

Author SHA1 Message Date
atagen
ef34e2314b clarify .source usage in docs 2025-07-24 10:28:34 +10:00
atagen
8251efc384 accept strings as source 2025-07-21 00:47:46 +10:00

View file

@ -43,9 +43,11 @@
bool
nullOr
lines
str
path
int
attrsOf
either
;
fileType = submodule (
{ options, ... }:
@ -63,9 +65,9 @@
};
source = mkOption {
type = nullOr path;
type = nullOr (either path str);
default = null;
description = "Path of the source file or directory";
description = "Path of the source file or directory - be sure to quote paths you don't want nix to copy to the store.";
};
executable = mkOption {