mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
`mkPackageOption` and `mkPluginPackageOption` have both been replaced with nixpkg's `lib.mkPackageOption`.
23 lines
448 B
Nix
23 lines
448 B
Nix
let
|
|
module =
|
|
{ lib, helpers, ... }:
|
|
{
|
|
assertions = [
|
|
{
|
|
assertion = lib ? nixvim;
|
|
message = "lib.nixvim should be defined";
|
|
}
|
|
{
|
|
assertion = builtins.attrNames lib.nixvim == builtins.attrNames helpers;
|
|
message = "lib.nixvim and helpers should be aliases";
|
|
}
|
|
];
|
|
};
|
|
in
|
|
{
|
|
top-level = module;
|
|
|
|
files-module = {
|
|
files."libtest.lua" = module;
|
|
};
|
|
}
|