lib/modules: flake is now required

This commit is contained in:
Matt Sturgeon 2024-12-23 11:55:32 +00:00
parent 403d5e23c5
commit 6f45ca4a22
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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;