lol

advi: use Dune 3

Co-authored-by: Ulrik Strid <ulrik.strid@outlook.com>

authored by

Vincent Laporte
Ulrik Strid
and committed by
Vincent Laporte
96face35 1d01024c

+8 -2
+8 -2
pkgs/tools/typesetting/tex/advi/default.nix
··· 34 34 pname = "advi"; 35 35 version = "2.0.0"; 36 36 37 - useDune2 = true; 38 - 39 37 minimalOCamlVersion = "4.11"; 40 38 41 39 src = fetchurl { 42 40 url = "http://advi.inria.fr/advi-${version}.tar.gz"; 43 41 hash = "sha256-c0DQHlvdekJyXCxmR4+Ut/njtoCzmqX6hNazNv8PpBQ="; 44 42 }; 43 + 44 + postPatch = '' 45 + substituteInPlace ./Makefile \ 46 + --replace "\$(DUNE) install \$(DUNEROOT) --display=short" \ 47 + "\$(DUNE) install \$(DUNEROOT) --prefix $out --docdir $out/share/doc --mandir $out/share/man" 48 + ''; 49 + 50 + duneVersion = "3"; 45 51 46 52 nativeBuildInputs = [ fake-opam kpsexpand makeWrapper texlive.combined.scheme-medium which ]; 47 53 buildInputs = with ocamlPackages; [ camlimages ghostscriptX graphics ];