nixos: support arbitrary child binaries
Allow child binaries to be ERIS URNs or otherwise arbitrary strings.
This commit is contained in:
parent
ac43ed395e
commit
bd0d34d99a
|
@ -16,9 +16,7 @@
|
||||||
description =
|
description =
|
||||||
"Program binary for this child. Must be an ERIS URN.";
|
"Program binary for this child. Must be an ERIS URN.";
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr (types.str // {
|
type = types.nullOr types.str;
|
||||||
check = lib.strings.hasPrefix "urn:erisx2:";
|
|
||||||
});
|
|
||||||
example =
|
example =
|
||||||
"urn:erisx2:AEAU4KT7AGJLA5BHPWFZ7HX2OVVNVFGDM2SIS726OPZBGXDED64QIDPHN2M5P5HIMOG3YDSWBGDPNUMZKCG4CRVU4DI5BOS5IJRFCSLQQY";
|
"urn:erisx2:AEAU4KT7AGJLA5BHPWFZ7HX2OVVNVFGDM2SIS726OPZBGXDED64QIDPHN2M5P5HIMOG3YDSWBGDPNUMZKCG4CRVU4DI5BOS5IJRFCSLQQY";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue