flake: fix condition for using lowdown 3.0

Change-Id: I6832c249da77a80b4e1e79015976156ce1eb1b0b
This commit is contained in:
Yureka
2026-04-11 22:42:14 +02:00
parent e79278b4fc
commit 9899ed29cc
+2 -2
View File
@@ -249,8 +249,8 @@
# We don't change the default version in order to not change the hash
# of Nix/Lix from upstream Nixpkgs.
lowdown_3_0 =
if (lib.versions.major prev.lowdown.version == 3) then
prev.lowdown.version
if (lib.versions.major prev.lowdown.version == "3") then
prev.lowdown
else
prev.lowdown.overrideAttrs (
finalAttrs: _prevAttrs: {