Since 24.05 I've noticed that the NixOS version just shows as pre-git, removing lib here seems to fix it, but might break some things when patching Nixpkgs?
diff --git a/lib/mkFlake.nix b/lib/mkFlake.nix
index 5925b77..8a43746 100644
--- a/lib/mkFlake.nix
+++ b/lib/mkFlake.nix
@@ -188,7 +188,7 @@ let
inherit inputs;
pkgs = selectedNixpkgs;
}) // (optionalAttrs (host.output == "nixosConfigurations") {
- inherit lib baseModules;
+ inherit baseModules;
specialArgs = nixosSpecialArgs // specialArgs;
}));
}
Since 24.05 I've noticed that the NixOS version just shows as
pre-git, removinglibhere seems to fix it, but might break some things when patching Nixpkgs?