Skip to content

Commit

Permalink
fix: hopefully fix version check for good
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Nov 19, 2023
1 parent 3bb5b89 commit 1ccd4c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

assertions = [
{
assertion = lib.hasInfix "pre" lib.version;
# Can't use 23.11 here because git versions are tracked as 23.11pre,
# which is considered to be < 23.11.
assertion = lib.versionAtLeast lib.version "23.10";
message = "Jovian NixOS is only validated with the nixos-unstable branch of Nixpkgs. Please upgrade your Nixpkgs version.";
}
];
Expand Down

0 comments on commit 1ccd4c9

Please sign in to comment.