coqPackages.hydra-battles: fix version checking logic

With this change, the derivation can be relied on without overlay in the upstream project.
This commit is contained in:
Théo Zimmermann 2022-02-21 16:05:47 +01:00 committed by Vincent Laporte
parent 8eb1922f64
commit 61ac416992

View file

@ -33,5 +33,5 @@ with lib;
};
}).overrideAttrs(o:
let inherit (o) version; in {
propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version) LibHyps;
propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version || version == "dev") LibHyps;
})