mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
wrapper: add built package as option
This commit is contained in:
parent
f9d1684b5f
commit
26398b6b14
5 changed files with 130 additions and 0 deletions
12
modules/wrapper/build/options.nix
Normal file
12
modules/wrapper/build/options.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue