mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-05 03:15:53 +00:00
wrapper: add built package as option
This commit is contained in:
parent
f9d1684b5f
commit
26398b6b14
6 changed files with 171 additions and 41 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