diff --git a/flake.nix b/flake.nix index 3d3817e50..3af02065c 100644 --- a/flake.nix +++ b/flake.nix @@ -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: {