Skip to content

NixOS revision not showing in boot loader or nixos-version #149

Description

@madjam002

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;
       }));
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions