summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-09 14:52:11 +0200
committerGitHub <noreply@github.com>2024-04-09 14:52:11 +0200
commitca1c287d5d77edd71661ad888620f6ddeaaf7ae4 (patch)
tree56d850b19ff68279d4d3ad8bf1bd22ee579c5d37
parentee70b5f4ddc2e17fe91bac268eaccbe511340327 (diff)
parent2eb99744ce9bda4db6a9ba21d429f299d590bfc5 (diff)
Merge pull request #301565 from vbgl/ocaml-stdlib-shims-dune3
ocamlPackages.stdlib-shims: use Dune 3
-rw-r--r--pkgs/development/ocaml-modules/stdlib-shims/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/stdlib-shims/default.nix b/pkgs/development/ocaml-modules/stdlib-shims/default.nix
index 54b97abfb86a..45c8bb2e4a1a 100644
--- a/pkgs/development/ocaml-modules/stdlib-shims/default.nix
+++ b/pkgs/development/ocaml-modules/stdlib-shims/default.nix
@@ -1,13 +1,12 @@
{ buildDunePackage, lib, fetchurl, ocaml }:
-buildDunePackage (rec {
+buildDunePackage rec {
pname = "stdlib-shims";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
};
- minimalOCamlVersion = "4.02";
doCheck = true;
meta = {
description = "Shims for forward-compatibility between versions of the OCaml standard library";
@@ -15,6 +14,4 @@ buildDunePackage (rec {
inherit (ocaml.meta) license;
maintainers = [ lib.maintainers.vbgl ];
};
-} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") {
- duneVersion = "1";
-})
+}