Skip to content

Commit

Permalink
modules/overlay: add assertion to make sure we're building on 23.11 o…
Browse files Browse the repository at this point in the history
…r higher
  • Loading branch information
K900 committed Nov 17, 2023
1 parent 74fdef8 commit 871a98c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/overlay.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{ lib, pkgs, ... }:
{ lib, ... }:

{
nixpkgs.overlays = [
(import ../overlay.nix)
];

assertions = [
{
assertion = lib.versionAtLeast lib.version "23.11";
message = "Jovian NixOS currently requires Nixpkgs 23.11 or newer to build.";
}
];
}

0 comments on commit 871a98c

Please sign in to comment.