mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/modules: flake
is now required
This commit is contained in:
parent
403d5e23c5
commit
6f45ca4a22
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
self,
|
self,
|
||||||
flake ? null,
|
flake,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
removed = {
|
removed = {
|
||||||
|
@ -32,10 +32,10 @@ in
|
||||||
../modules/top-level
|
../modules/top-level
|
||||||
|
|
||||||
# Pass our locked nixpkgs into the configuration
|
# Pass our locked nixpkgs into the configuration
|
||||||
(lib.optionalAttrs (flake != null) {
|
{
|
||||||
_file = "<nixvim-flake>";
|
_file = "<nixvim-flake>";
|
||||||
nixpkgs.source = lib.mkOptionDefault flake.inputs.nixpkgs;
|
nixpkgs.source = lib.mkOptionDefault flake.inputs.nixpkgs;
|
||||||
})
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue