mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
26 lines
429 B
Nix
26 lines
429 B
Nix
|
let
|
||
|
module =
|
||
|
{ lib, helpers, ... }:
|
||
|
{
|
||
|
assertions = [
|
||
|
{
|
||
|
assertion = lib ? nixvim;
|
||
|
message = "lib.nixvim should be defined";
|
||
|
}
|
||
|
{
|
||
|
assertion = lib.nixvim == helpers;
|
||
|
message = "lib.nixvim and helpers should be aliases";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
top-level = {
|
||
|
inherit module;
|
||
|
};
|
||
|
|
||
|
files-module = {
|
||
|
files."libtest.lua" = module;
|
||
|
};
|
||
|
}
|