alt-ergo: fix version string

This commit is contained in:
Vincent Laporte 2022-12-02 15:09:55 +01:00 committed by Bjørn Forsman
parent 39a1b8ebca
commit 188b935b6d

View file

@ -21,6 +21,9 @@ let alt-ergo-lib = ocamlPackages.buildDunePackage rec {
nativeBuildInputs = [ which ];
buildInputs = with ocamlPackages; [ dune-configurator ];
propagatedBuildInputs = with ocamlPackages; [ num ocplib-simplex seq stdlib-shims zarith ];
preBuild = ''
substituteInPlace src/lib/util/version.ml --replace 'version="dev"' 'version="${version}"'
'';
}; in
let alt-ergo-parsers = ocamlPackages.buildDunePackage rec {