Add an option for the toplevel derivation

This commit is contained in:
r-vdp 2025-02-03 17:10:39 +01:00
parent 196586a97d
commit f6ae6d0ee8
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -150,6 +150,11 @@
};
build = {
toplevel = lib.mkOption {
type = lib.types.pathInStore;
readOnly = true;
};
scripts = lib.mkOption {
type = lib.types.attrsOf lib.types.package;
};