mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +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,
|
||||
self,
|
||||
flake ? null,
|
||||
flake,
|
||||
}:
|
||||
let
|
||||
removed = {
|
||||
|
@ -32,10 +32,10 @@ in
|
|||
../modules/top-level
|
||||
|
||||
# Pass our locked nixpkgs into the configuration
|
||||
(lib.optionalAttrs (flake != null) {
|
||||
{
|
||||
_file = "<nixvim-flake>";
|
||||
nixpkgs.source = lib.mkOptionDefault flake.inputs.nixpkgs;
|
||||
})
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
inherit lib;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue