lol

ocamlPackages.mtime: create 1.x fork for compat

Slapped mtime_1 affected ocamlPackages

toastal 8201afb7 126fd86c

+44 -19
+1 -1
pkgs/applications/science/logic/acgtk/default.nix
··· 18 18 nativeBuildInputs = with ocamlPackages; [ menhir ocaml findlib dune_3 ]; 19 19 20 20 buildInputs = with ocamlPackages; [ 21 - ansiterminal cairo2 cmdliner fmt logs menhirLib mtime sedlex yojson 21 + ansiterminal cairo2 cmdliner fmt logs menhirLib mtime_1 sedlex yojson 22 22 ]; 23 23 24 24 buildPhase = ''
+1 -1
pkgs/development/compilers/ligo/default.nix
··· 116 116 bls12-381 117 117 bls12-381-signature 118 118 ptime 119 - mtime 119 + mtime_1 120 120 lwt_log 121 121 secp256k1-internal 122 122 resto
+22
pkgs/development/ocaml-modules/mtime/1_x.nix
··· 1 + { stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, mtime }: 2 + 3 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08") 4 + "mtime is not available for OCaml ${ocaml.version}" 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "ocaml${ocaml.version}-mtime"; 8 + version = "1.4.0"; 9 + 10 + src = fetchurl { 11 + url = "https://erratique.ch/software/mtime/releases/mtime-${version}.tbz"; 12 + sha256 = "VQyYEk8+57Yq8SUuYossaQUHZKqemHDJtf4LK8qjxvc="; 13 + }; 14 + 15 + nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; 16 + buildInputs = [ topkg ]; 17 + 18 + strictDeps = true; 19 + 20 + inherit (topkg) buildPhase installPhase; 21 + inherit (mtime) meta; 22 + }
+20 -17
pkgs/top-level/ocaml-packages.nix
··· 54 54 55 55 atdgen-runtime = callPackage ../development/ocaml-modules/atdgen/runtime.nix { }; 56 56 57 - awa = callPackage ../development/ocaml-modules/awa { }; 57 + awa = callPackage ../development/ocaml-modules/awa { mtime = mtime_1; }; 58 58 59 - awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { }; 59 + awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { mtime = mtime_1; }; 60 60 61 - awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { }; 61 + awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { mtime = mtime_1; }; 62 62 63 63 ### B ### 64 64 ··· 321 321 322 322 dns-certify = callPackage ../development/ocaml-modules/dns/certify.nix { }; 323 323 324 - dns-cli = callPackage ../development/ocaml-modules/dns/cli.nix { }; 324 + dns-cli = callPackage ../development/ocaml-modules/dns/cli.nix { mtime = mtime_1; }; 325 325 326 - dns-client = callPackage ../development/ocaml-modules/dns/client.nix { }; 326 + dns-client = callPackage ../development/ocaml-modules/dns/client.nix { mtime = mtime_1; }; 327 327 328 - dns-client-lwt = callPackage ../development/ocaml-modules/dns/client-lwt.nix { }; 328 + dns-client-lwt = callPackage ../development/ocaml-modules/dns/client-lwt.nix { mtime = mtime_1; }; 329 329 330 330 dns-client-mirage = callPackage ../development/ocaml-modules/dns/client-mirage.nix { }; 331 331 ··· 571 571 572 572 git-unix = callPackage ../development/ocaml-modules/git/unix.nix { 573 573 git-binary = pkgs.git; 574 + mtime = mtime_1; 574 575 }; 575 576 576 577 github = callPackage ../development/ocaml-modules/github { }; ··· 622 623 623 624 happy-eyeballs = callPackage ../development/ocaml-modules/happy-eyeballs { }; 624 625 625 - happy-eyeballs-lwt = callPackage ../development/ocaml-modules/happy-eyeballs/lwt.nix { }; 626 + happy-eyeballs-lwt = callPackage ../development/ocaml-modules/happy-eyeballs/lwt.nix { mtime = mtime_1; }; 626 627 627 628 happy-eyeballs-mirage = callPackage ../development/ocaml-modules/happy-eyeballs/mirage.nix { }; 628 629 ··· 652 653 653 654 imagelib = callPackage ../development/ocaml-modules/imagelib { }; 654 655 655 - index = callPackage ../development/ocaml-modules/index { }; 656 + index = callPackage ../development/ocaml-modules/index { mtime = mtime_1; }; 656 657 657 658 inifiles = callPackage ../development/ocaml-modules/inifiles { }; 658 659 ··· 672 673 673 674 iri = callPackage ../development/ocaml-modules/iri { }; 674 675 675 - irmin = callPackage ../development/ocaml-modules/irmin { }; 676 + irmin = callPackage ../development/ocaml-modules/irmin { mtime = mtime_1; }; 676 677 677 678 irmin-chunk = callPackage ../development/ocaml-modules/irmin/chunk.nix { }; 678 679 679 - irmin-containers = callPackage ../development/ocaml-modules/irmin/containers.nix { }; 680 + irmin-containers = callPackage ../development/ocaml-modules/irmin/containers.nix { mtime = mtime_1; }; 680 681 681 682 irmin-fs = callPackage ../development/ocaml-modules/irmin/fs.nix { }; 682 683 683 - irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { }; 684 + irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { mtime = mtime_1; }; 684 685 685 686 irmin-graphql = callPackage ../development/ocaml-modules/irmin/graphql.nix { }; 686 687 ··· 692 693 693 694 irmin-mirage-graphql = callPackage ../development/ocaml-modules/irmin/mirage-graphql.nix { }; 694 695 695 - irmin-pack = callPackage ../development/ocaml-modules/irmin/pack.nix { }; 696 + irmin-pack = callPackage ../development/ocaml-modules/irmin/pack.nix { mtime = mtime_1; }; 696 697 697 - irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { }; 698 + irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { mtime = mtime_1; }; 698 699 699 700 irmin-tezos = callPackage ../development/ocaml-modules/irmin/tezos.nix { }; 700 701 ··· 961 962 962 963 metrics-unix = callPackage ../development/ocaml-modules/metrics/unix.nix { 963 964 inherit (pkgs) gnuplot; 965 + mtime = mtime_1; 964 966 }; 965 967 966 968 mew = callPackage ../development/ocaml-modules/mew { }; ··· 1007 1009 1008 1010 mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { }; 1009 1011 1010 - mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { }; 1012 + mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { mtime = mtime_1; }; 1011 1013 1012 1014 mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { }; 1013 1015 1014 - mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { }; 1016 + mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { mtime = mtime_1; }; 1015 1017 1016 1018 mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { }; 1017 1019 ··· 1073 1075 1074 1076 mrmime = callPackage ../development/ocaml-modules/mrmime { }; 1075 1077 1078 + mtime_1 = callPackage ../development/ocaml-modules/mtime/1_x.nix { }; 1076 1079 mtime = callPackage ../development/ocaml-modules/mtime { }; 1077 1080 1078 1081 multipart-form-data = callPackage ../development/ocaml-modules/multipart-form-data { }; ··· 1249 1252 inherit (pkgs) unzip; 1250 1253 }; 1251 1254 1252 - opium = callPackage ../development/ocaml-modules/opium { }; 1255 + opium = callPackage ../development/ocaml-modules/opium { mtime = mtime_1; }; 1253 1256 1254 1257 opti = callPackage ../development/ocaml-modules/opti { }; 1255 1258 ··· 1400 1403 1401 1404 prometheus = callPackage ../development/ocaml-modules/prometheus { }; 1402 1405 1403 - progress = callPackage ../development/ocaml-modules/progress { }; 1406 + progress = callPackage ../development/ocaml-modules/progress { mtime = mtime_1; }; 1404 1407 1405 1408 promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { }; 1406 1409