flake: fix condition for using lowdown 3.0
Change-Id: I6832c249da77a80b4e1e79015976156ce1eb1b0b
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user