wrapper: add built package as option

This commit is contained in:
Ching Pei Yang 2024-12-22 21:49:11 +01:00 committed by raf
commit 26398b6b14
5 changed files with 130 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{lib, ...}: let
inherit (lib.types) package;
inherit (lib.options) mkOption;
in {
options.vim.build = {
finalPackage = mkOption {
type = package;
readOnly = true;
description = "final output package";
};
};
}