2024-04-07 15:31:06 +00:00
|
|
|
# Cconvenience function that returns the given Nixpkgs standard library
|
|
|
|
# extended with our functions using `lib.extend`.
|
2024-04-08 00:28:49 +00:00
|
|
|
nixpkgsLib: inputs: let
|
2023-02-06 18:57:35 +00:00
|
|
|
mkNvimLib = import ./.;
|
|
|
|
in
|
2024-04-07 15:31:06 +00:00
|
|
|
# WARNING: New functions should not be added here, but to files
|
|
|
|
# imported by `./default.nix` under their own categories. If your
|
|
|
|
# function does not fit to any of the existing categories, create
|
|
|
|
# a new file and import it in `./default.nix.`
|
|
|
|
nixpkgsLib.extend (self: super: {
|
2024-04-08 00:28:49 +00:00
|
|
|
nvim = mkNvimLib {
|
|
|
|
inherit inputs;
|
|
|
|
lib = self;
|
|
|
|
};
|
2023-02-06 18:57:35 +00:00
|
|
|
|
|
|
|
# For forward compatibility.
|
|
|
|
literalExpression = super.literalExpression or super.literalExample;
|
|
|
|
})
|