summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2023-01-25 16:24:28 +0100
committerUlrik Strid <ulrik.strid@outlook.com>2023-02-03 08:59:34 +0100
commitf12b9ea461c3a5c75df219b08f17f9a7856894ae (patch)
tree2332f868ace8aa413abaec134d8adaa6f261b25d /pkgs
parent376e9ceeadc4c4e06f34b33bf347a504a4b3bd65 (diff)
downloadnixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.gz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.bz2
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.lz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.xz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.zst
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.zip
buildDunePackage: default to strictDeps = true
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/ocaml/dune.nix2
-rw-r--r--pkgs/development/ocaml-modules/atdgen/default.nix1
-rw-r--r--pkgs/development/ocaml-modules/bigarray-overlap/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/biniou/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/bitv/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/calendar/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/camlimages/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/camomile/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/cfstream/default.nix5
-rw-r--r--pkgs/development/ocaml-modules/coin/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/digestif/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/dolmen/default.nix4
-rw-r--r--pkgs/development/ocaml-modules/gen/default.nix3
-rw-r--r--pkgs/development/ocaml-modules/graphql_ppx/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/happy-eyeballs/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix2
-rw-r--r--pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix2
-rw-r--r--pkgs/development/ocaml-modules/hidapi/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/inotify/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/irmin/ppx.nix2
-rw-r--r--pkgs/development/ocaml-modules/janestreet/0.15.nix4
-rw-r--r--pkgs/development/ocaml-modules/janestreet/janePackage.nix2
-rw-r--r--pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix2
-rw-r--r--pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix3
-rw-r--r--pkgs/development/ocaml-modules/janestreet/janePackage_0_15.nix3
-rw-r--r--pkgs/development/ocaml-modules/lambda-term/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/lwt/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/merlin-extend/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/mirage-crypto/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/mirage-crypto/pk.nix2
-rw-r--r--pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix2
-rw-r--r--pkgs/development/ocaml-modules/ocamlfuse/default.nix3
-rw-r--r--pkgs/development/ocaml-modules/odate/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/otoml/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/ppx_cstubs/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/ppx_tools/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/psmt2-frontend/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/ptmap/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/reactivedata/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/stdcompat/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/uuuu/default.nix2
-rw-r--r--pkgs/development/ocaml-modules/yojson/default.nix2
42 files changed, 7 insertions, 87 deletions
diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix
index 0a68b73f895..ce3b389b9ce 100644
--- a/pkgs/build-support/ocaml/dune.nix
+++ b/pkgs/build-support/ocaml/dune.nix
@@ -34,6 +34,8 @@ stdenv.mkDerivation ({
     runHook postInstall
   '';
 
+  strictDeps = true;
+
 } // (builtins.removeAttrs args [ "minimalOCamlVersion"  "duneVersion" ]) // {
 
   name = "ocaml${ocaml.version}-${pname}-${version}";
diff --git a/pkgs/development/ocaml-modules/atdgen/default.nix b/pkgs/development/ocaml-modules/atdgen/default.nix
index cd56271e655..07ee079cae3 100644
--- a/pkgs/development/ocaml-modules/atdgen/default.nix
+++ b/pkgs/development/ocaml-modules/atdgen/default.nix
@@ -10,7 +10,6 @@ buildDunePackage {
 
   propagatedBuildInputs = [ atdgen-runtime ];
 
-  strictDeps = true;
   doCheck = true;
   nativeCheckInputs = [ atd (python3.withPackages (ps: [ ps.jsonschema ]))];
   checkInputs = [ alcotest atdgen-codec-runtime ];
diff --git a/pkgs/development/ocaml-modules/bigarray-overlap/default.nix b/pkgs/development/ocaml-modules/bigarray-overlap/default.nix
index 80b61e2bdf3..2674369f37e 100644
--- a/pkgs/development/ocaml-modules/bigarray-overlap/default.nix
+++ b/pkgs/development/ocaml-modules/bigarray-overlap/default.nix
@@ -14,8 +14,6 @@ buildDunePackage rec {
   minimumOCamlVersion = "4.07";
   useDune2 = true;
 
-  strictDeps = true;
-
   propagatedBuildInputs = [ bigarray-compat ];
 
   nativeBuildInputs = [ findlib pkg-config ];
diff --git a/pkgs/development/ocaml-modules/biniou/default.nix b/pkgs/development/ocaml-modules/biniou/default.nix
index 22d2b643b27..2c58a408140 100644
--- a/pkgs/development/ocaml-modules/biniou/default.nix
+++ b/pkgs/development/ocaml-modules/biniou/default.nix
@@ -11,8 +11,6 @@ buildDunePackage rec {
 
   propagatedBuildInputs = [ camlp-streams easy-format ];
 
-  strictDeps = true;
-
   meta = {
     description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
     homepage = "https://github.com/ocaml-community/biniou";
diff --git a/pkgs/development/ocaml-modules/bitv/default.nix b/pkgs/development/ocaml-modules/bitv/default.nix
index a986a46f293..25906f1432f 100644
--- a/pkgs/development/ocaml-modules/bitv/default.nix
+++ b/pkgs/development/ocaml-modules/bitv/default.nix
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook which ocaml findlib ];
 
-  strictDeps = true;
-
   createFindlibDestdir = true;
 
   meta = {
diff --git a/pkgs/development/ocaml-modules/calendar/default.nix b/pkgs/development/ocaml-modules/calendar/default.nix
index cf349eeb8bb..8fd3f5befef 100644
--- a/pkgs/development/ocaml-modules/calendar/default.nix
+++ b/pkgs/development/ocaml-modules/calendar/default.nix
@@ -14,8 +14,6 @@ buildDunePackage rec {
 
   propagatedBuildInputs = [ re ];
 
-  strictDeps = true;
-
   meta = {
     inherit (src.meta) homepage;
     description = "A library for handling dates and times";
diff --git a/pkgs/development/ocaml-modules/camlimages/default.nix b/pkgs/development/ocaml-modules/camlimages/default.nix
index a83c7c474ac..b6768cfe8c1 100644
--- a/pkgs/development/ocaml-modules/camlimages/default.nix
+++ b/pkgs/development/ocaml-modules/camlimages/default.nix
@@ -17,8 +17,6 @@ buildDunePackage rec {
     sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ cppo ];
   buildInputs = [ dune-configurator graphics lablgtk stdio ];
 
diff --git a/pkgs/development/ocaml-modules/camomile/default.nix b/pkgs/development/ocaml-modules/camomile/default.nix
index e5fe6702131..ea2a6539368 100644
--- a/pkgs/development/ocaml-modules/camomile/default.nix
+++ b/pkgs/development/ocaml-modules/camomile/default.nix
@@ -15,8 +15,6 @@ buildDunePackage rec {
 
   nativeBuildInputs = [ cppo ];
 
-  strictDeps = true;
-
   configurePhase = ''
     runHook preConfigure
     ocaml configure.ml --share $out/share/camomile
diff --git a/pkgs/development/ocaml-modules/cfstream/default.nix b/pkgs/development/ocaml-modules/cfstream/default.nix
index aeedb414a3b..b39cb471e4c 100644
--- a/pkgs/development/ocaml-modules/cfstream/default.nix
+++ b/pkgs/development/ocaml-modules/cfstream/default.nix
@@ -17,11 +17,10 @@ buildDunePackage rec {
 
   patches = [ ./git_commit.patch ];
 
-  # This currently fails with dune
-  strictDeps = false;
+  strictDeps = true;
 
   nativeBuildInputs = [ m4 ];
-  nativeCheckInputs = [ ounit ];
+  checkInputs = [ ounit ];
   propagatedBuildInputs = [ core_kernel ];
 
   doCheck = true;
diff --git a/pkgs/development/ocaml-modules/coin/default.nix b/pkgs/development/ocaml-modules/coin/default.nix
index 5996cd7adb6..c9b6ad3128f 100644
--- a/pkgs/development/ocaml-modules/coin/default.nix
+++ b/pkgs/development/ocaml-modules/coin/default.nix
@@ -24,8 +24,6 @@ buildDunePackage rec {
   nativeBuildInputs = [ findlib ];
   buildInputs = [ re ];
 
-  strictDeps = true;
-
   doCheck = true;
 
   meta = {
diff --git a/pkgs/development/ocaml-modules/digestif/default.nix b/pkgs/development/ocaml-modules/digestif/default.nix
index 80ca209b9b1..75ecb7fc58f 100644
--- a/pkgs/development/ocaml-modules/digestif/default.nix
+++ b/pkgs/development/ocaml-modules/digestif/default.nix
@@ -15,8 +15,6 @@ buildDunePackage rec {
     sha256 = "sha256-edNM5ROxFIV+OAqr328UcyGPGwXdflHQOJB3ntAbRmY=";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ findlib which ocaml pkg-config ];
 
   propagatedBuildInputs = [ eqaf ];
diff --git a/pkgs/development/ocaml-modules/dolmen/default.nix b/pkgs/development/ocaml-modules/dolmen/default.nix
index 7a7a14192f9..b27efe50194 100644
--- a/pkgs/development/ocaml-modules/dolmen/default.nix
+++ b/pkgs/development/ocaml-modules/dolmen/default.nix
@@ -7,8 +7,6 @@ buildDunePackage rec {
   pname = "dolmen";
   version = "0.6";
 
-  useDune2 = true;
-
   minimalOCamlVersion = "4.08";
 
   src = fetchurl {
@@ -16,8 +14,6 @@ buildDunePackage rec {
     sha256 = "133l23mwxa9xy340izvk4zp5jqjz2cwsm2innsgs2kg85pd39c41";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ menhir ];
   propagatedBuildInputs = [ menhirLib fmt ];
 
diff --git a/pkgs/development/ocaml-modules/gen/default.nix b/pkgs/development/ocaml-modules/gen/default.nix
index 699af9f5f20..ee932bffd5e 100644
--- a/pkgs/development/ocaml-modules/gen/default.nix
+++ b/pkgs/development/ocaml-modules/gen/default.nix
@@ -16,11 +16,8 @@ buildDunePackage rec {
     hash = "sha256-YWoVcl2TQoMIgU1LoKL16ia31zJjwAMwuphtSXnhtvw=";
   };
 
-  strictDeps = true;
-
   buildInputs = [ dune-configurator ];
   propagatedBuildInputs = [ seq ];
-  nativeCheckInputs = [ qcheck ounit2 ];
   checkInputs = [ qcheck ounit2 ];
 
   doCheck = lib.versionAtLeast ocaml.version "4.08";
diff --git a/pkgs/development/ocaml-modules/graphql_ppx/default.nix b/pkgs/development/ocaml-modules/graphql_ppx/default.nix
index 003482ca08a..9314c1033d4 100644
--- a/pkgs/development/ocaml-modules/graphql_ppx/default.nix
+++ b/pkgs/development/ocaml-modules/graphql_ppx/default.nix
@@ -18,8 +18,6 @@ buildDunePackage rec {
     sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44=";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ reason ];
 
   buildInputs = [ ppxlib reason ];
diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/default.nix b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
index d5b0691fdff..a3a2a3cff1f 100644
--- a/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
+++ b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
@@ -13,8 +13,6 @@ buildDunePackage rec {
     hash = "sha256-gR9q4J/DnYJz8oYmk/wy17h4F6wxbllba/gkor5i1nQ=";
   };
 
-  strictDeps = true;
-
   propagatedBuildInputs = [
     domain-name
     duration
diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix b/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
index 9160b9233fa..50f1f945573 100644
--- a/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
+++ b/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
@@ -19,8 +19,6 @@ buildDunePackage {
   minimalOCamlVersion = "4.08";
   duneVersion = "3";
 
-  strictDeps = true;
-
   buildInputs = [
     cmdliner
     duration
diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix b/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
index 22f17111e44..eb15706efac 100644
--- a/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
+++ b/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
@@ -21,8 +21,6 @@ buildDunePackage {
   minimalOCamlVersion = "4.08";
   duneVersion = "3";
 
-  strictDeps = true;
-
   buildInputs = [
     duration
     ipaddr
diff --git a/pkgs/development/ocaml-modules/hidapi/default.nix b/pkgs/development/ocaml-modules/hidapi/default.nix
index b4492f438cc..68fc506222d 100644
--- a/pkgs/development/ocaml-modules/hidapi/default.nix
+++ b/pkgs/development/ocaml-modules/hidapi/default.nix
@@ -13,8 +13,6 @@ buildDunePackage rec {
     sha256 = "1j7rd7ajrzla76r3sxljx6fb18f4f4s3jd7vhv59l2ilxyxycai2";
   };
 
-  strictDeps = true;
-
   minimumOCamlVersion = "4.03";
 
   nativeBuildInputs = [ pkg-config ];
diff --git a/pkgs/development/ocaml-modules/inotify/default.nix b/pkgs/development/ocaml-modules/inotify/default.nix
index 8a2b0c41507..2dce9320afd 100644
--- a/pkgs/development/ocaml-modules/inotify/default.nix
+++ b/pkgs/development/ocaml-modules/inotify/default.nix
@@ -18,8 +18,6 @@ buildDunePackage rec {
 
   checkInputs = [ ounit2 fileutils ];
 
-  strictDeps = true;
-
   doCheck = true;
 
   meta = {
diff --git a/pkgs/development/ocaml-modules/irmin/ppx.nix b/pkgs/development/ocaml-modules/irmin/ppx.nix
index 2e21331c22e..83cd5b1d7f5 100644
--- a/pkgs/development/ocaml-modules/irmin/ppx.nix
+++ b/pkgs/development/ocaml-modules/irmin/ppx.nix
@@ -11,8 +11,6 @@ buildDunePackage rec {
 
   minimalOCamlVersion = "4.10";
 
-  strictDeps = false; # We must provide nativeCheckInputs as buildInputs because dune builds tests at build time
-
   propagatedBuildInputs = [
     ppx_repr
     ppxlib
diff --git a/pkgs/development/ocaml-modules/janestreet/0.15.nix b/pkgs/development/ocaml-modules/janestreet/0.15.nix
index 8bf230a1825..7433c116b68 100644
--- a/pkgs/development/ocaml-modules/janestreet/0.15.nix
+++ b/pkgs/development/ocaml-modules/janestreet/0.15.nix
@@ -958,9 +958,7 @@ with self;
     meta.description = "Yet another implementation of fork&exec and related functionality";
     buildInputs = [ jst-config ];
     propagatedBuildInputs = [ textutils ];
-    nativeCheckInputs = [ ounit ];
-    # This currently fails with dune
-    strictDeps = false;
+    checkInputs = [ ounit ];
   };
 
   shexp = janePackage {
diff --git a/pkgs/development/ocaml-modules/janestreet/janePackage.nix b/pkgs/development/ocaml-modules/janestreet/janePackage.nix
index da268757601..9552268abc2 100644
--- a/pkgs/development/ocaml-modules/janestreet/janePackage.nix
+++ b/pkgs/development/ocaml-modules/janestreet/janePackage.nix
@@ -16,8 +16,6 @@ buildDunePackage (args // {
     sha256 = hash;
   };
 
-  strictDeps = true;
-
   meta = {
     license = lib.licenses.asl20;
     homepage = "https://github.com/janestreet/${pname}";
diff --git a/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix b/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix
index 5b918683570..d61f1b6d41c 100644
--- a/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix
+++ b/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix
@@ -16,8 +16,6 @@ buildDunePackage (args // {
     sha256 = hash;
   };
 
-  strictDeps = true;
-
   meta = {
     license = lib.licenses.mit;
     homepage = "https://github.com/janestreet/${pname}";
diff --git a/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix b/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix
index d124baea897..e3c3efc9999 100644
--- a/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix
+++ b/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix
@@ -6,12 +6,11 @@
 , minimumOCamlVersion ? "4.08"
 , doCheck ? true
 , buildInputs ? []
-, strictDeps ? true
 , ...}@args:
 
 buildDunePackage (args // {
   useDune2 = true;
-  inherit version buildInputs strictDeps;
+  inherit version buildInputs;
 
   inherit minimumOCamlVersion;
 
diff --git a/pkgs/development/ocaml-modules/janestreet/janePackage_0_15.nix b/pkgs/development/ocaml-modules/janestreet/janePackage_0_15.nix
index 67859908994..7306ce46bf9 100644
--- a/pkgs/development/ocaml-modules/janestreet/janePackage_0_15.nix
+++ b/pkgs/development/ocaml-modules/janestreet/janePackage_0_15.nix
@@ -6,12 +6,11 @@
 , minimumOCamlVersion ? "4.11"
 , doCheck ? true
 , buildInputs ? []
-, strictDeps ? true
 , ...}@args:
 
 buildDunePackage (args // {
   useDune2 = true;
-  inherit version buildInputs strictDeps;
+  inherit version buildInputs;
 
   inherit minimumOCamlVersion;
 
diff --git a/pkgs/development/ocaml-modules/lambda-term/default.nix b/pkgs/development/ocaml-modules/lambda-term/default.nix
index c073ddf39cd..a2294822a0c 100644
--- a/pkgs/development/ocaml-modules/lambda-term/default.nix
+++ b/pkgs/development/ocaml-modules/lambda-term/default.nix
@@ -16,8 +16,6 @@ buildDunePackage rec {
 
   duneVersion = if lib.versionAtLeast ocaml.version "4.08" then "3" else "2";
 
-  strictDeps = true;
-
   src = fetchFromGitHub {
     owner = "ocaml-community";
     repo = pname;
diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix
index 9be06c2e611..8004cfcd4bb 100644
--- a/pkgs/development/ocaml-modules/lwt/default.nix
+++ b/pkgs/development/ocaml-modules/lwt/default.nix
@@ -15,8 +15,6 @@ buildDunePackage rec {
     sha256 = "sha256-XstKs0tMwliCyXnP0Vzi5WC27HKJGnATUYtbbQmH1TE=";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ cppo ];
   buildInputs = [ dune-configurator ];
   propagatedBuildInputs = [ libev ocplib-endian ];
diff --git a/pkgs/development/ocaml-modules/merlin-extend/default.nix b/pkgs/development/ocaml-modules/merlin-extend/default.nix
index b295c0eda0f..a8ccd2cf4a0 100644
--- a/pkgs/development/ocaml-modules/merlin-extend/default.nix
+++ b/pkgs/development/ocaml-modules/merlin-extend/default.nix
@@ -11,8 +11,6 @@ buildDunePackage rec {
     sha256 = "0hvc4mz92x3rl2dxwrhvhzwl4gilnyvvwcqgr45vmdpyjyp3dwn2";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ cppo ];
 
   meta = with lib; {
diff --git a/pkgs/development/ocaml-modules/mirage-crypto/default.nix b/pkgs/development/ocaml-modules/mirage-crypto/default.nix
index ea2780a7ab6..d5f110948dc 100644
--- a/pkgs/development/ocaml-modules/mirage-crypto/default.nix
+++ b/pkgs/development/ocaml-modules/mirage-crypto/default.nix
@@ -25,8 +25,6 @@ buildDunePackage rec {
     ocaml-freestanding
   ];
 
-  strictDeps = true;
-
   meta = with lib; {
     homepage = "https://github.com/mirage/mirage-crypto";
     description = "Simple symmetric cryptography for the modern age";
diff --git a/pkgs/development/ocaml-modules/mirage-crypto/pk.nix b/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
index 412eec1011b..b79f49c64bd 100644
--- a/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
+++ b/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
@@ -10,8 +10,6 @@ buildDunePackage rec {
   propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
                             zarith eqaf sexplib0 ];
 
-  strictDeps = true;
-
   doCheck = true;
   checkInputs = [ ounit2 randomconv ];
 
diff --git a/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix b/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
index 02eba14c318..c3703a5a60a 100644
--- a/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
+++ b/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
@@ -14,8 +14,6 @@ buildDunePackage rec {
   propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
                             mirage-time mirage-clock logs lwt ];
 
-  strictDeps = true;
-
   meta = mirage-crypto-rng.meta // {
     description = "Entropy collection for a cryptographically secure PRNG";
   };
diff --git a/pkgs/development/ocaml-modules/ocamlfuse/default.nix b/pkgs/development/ocaml-modules/ocamlfuse/default.nix
index 13ac62f6451..1efcbf382db 100644
--- a/pkgs/development/ocaml-modules/ocamlfuse/default.nix
+++ b/pkgs/development/ocaml-modules/ocamlfuse/default.nix
@@ -11,9 +11,6 @@ buildDunePackage rec {
     sha256 = "6nmPXZx38hBGlg+gV9nnlRpPfeSAqDj4zBPcjUNvTRo=";
   };
 
-  # This currently fails with dune
-  strictDeps = false;
-
   nativeBuildInputs = [ camlidl ];
   buildInputs = [ dune-configurator ];
   propagatedBuildInputs = [ camlidl fuse ];
diff --git a/pkgs/development/ocaml-modules/odate/default.nix b/pkgs/development/ocaml-modules/odate/default.nix
index 24d2c04c6ca..a16fbc578d3 100644
--- a/pkgs/development/ocaml-modules/odate/default.nix
+++ b/pkgs/development/ocaml-modules/odate/default.nix
@@ -15,8 +15,6 @@ buildDunePackage rec {
     sha256 = "1dk33lr0g2jnia2gqsm6nnc7nf256qgkm3v30w477gm6y2ppfm3h";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ menhir ];
 
   # Ensure compatibility of v0.6 with menhir ≥ 20220210
diff --git a/pkgs/development/ocaml-modules/otoml/default.nix b/pkgs/development/ocaml-modules/otoml/default.nix
index 3f06a098d0e..4a2e605f4ce 100644
--- a/pkgs/development/ocaml-modules/otoml/default.nix
+++ b/pkgs/development/ocaml-modules/otoml/default.nix
@@ -19,8 +19,6 @@ buildDunePackage rec {
     sha256 = "sha256-Xd3fHBN1f+tvgRFCxD/Gz8/lIvezknz7Zy3EtdqoTEM=";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ menhir ];
 
   propagatedBuildInputs = [ menhirLib uutf ];
diff --git a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix
index c58004b9adc..88f187cc706 100644
--- a/pkgs/development/ocaml-modules/ppx_cstubs/default.nix
+++ b/pkgs/development/ocaml-modules/ppx_cstubs/default.nix
@@ -42,8 +42,6 @@ buildDunePackage rec {
     ctypes
   ];
 
-  strictDeps = true;
-
   meta = with lib; {
     homepage = "https://github.com/fdopen/ppx_cstubs";
     changelog = "https://github.com/fdopen/ppx_cstubs/raw/${version}/CHANGES.md";
diff --git a/pkgs/development/ocaml-modules/ppx_tools/default.nix b/pkgs/development/ocaml-modules/ppx_tools/default.nix
index d3af0ea154e..2d5f73be42b 100644
--- a/pkgs/development/ocaml-modules/ppx_tools/default.nix
+++ b/pkgs/development/ocaml-modules/ppx_tools/default.nix
@@ -58,8 +58,6 @@ then
     inherit pname src meta;
     inherit (param) version buildInputs nativeBuildInputs;
     duneVersion = "3";
-
-    strictDeps = true;
   }
 else
   stdenv.mkDerivation {
diff --git a/pkgs/development/ocaml-modules/psmt2-frontend/default.nix b/pkgs/development/ocaml-modules/psmt2-frontend/default.nix
index 1cb14f75faa..ef88bdcdab7 100644
--- a/pkgs/development/ocaml-modules/psmt2-frontend/default.nix
+++ b/pkgs/development/ocaml-modules/psmt2-frontend/default.nix
@@ -13,8 +13,6 @@ buildDunePackage rec {
 
   minimalOCamlVersion = "4.03";
 
-  strictDeps = true;
-
   nativeBuildInputs = [ menhir ];
 
   meta = {
diff --git a/pkgs/development/ocaml-modules/ptmap/default.nix b/pkgs/development/ocaml-modules/ptmap/default.nix
index a3c0eb55f96..edc9e1c6dcb 100644
--- a/pkgs/development/ocaml-modules/ptmap/default.nix
+++ b/pkgs/development/ocaml-modules/ptmap/default.nix
@@ -14,8 +14,6 @@ buildDunePackage rec {
     sha256 = "1apk61fc1y1g7x3m3c91fnskvxp6i0vk5nxwvipj56k7x2pzilgb";
   };
 
-  strictDeps = true;
-
   buildInputs = [ stdlib-shims ];
   propagatedBuildInputs = [ seq ];
 
diff --git a/pkgs/development/ocaml-modules/reactivedata/default.nix b/pkgs/development/ocaml-modules/reactivedata/default.nix
index 3aafd9807a0..49b1357f549 100644
--- a/pkgs/development/ocaml-modules/reactivedata/default.nix
+++ b/pkgs/development/ocaml-modules/reactivedata/default.nix
@@ -15,8 +15,6 @@ buildDunePackage rec {
 
   propagatedBuildInputs = [ react ];
 
-  strictDeps = true;
-
   meta = with lib; {
     description = "An OCaml module for functional reactive programming (FRP) based on React";
     homepage = "https://github.com/ocsigen/reactiveData";
diff --git a/pkgs/development/ocaml-modules/stdcompat/default.nix b/pkgs/development/ocaml-modules/stdcompat/default.nix
index b8dcc81bfe7..33e93967e19 100644
--- a/pkgs/development/ocaml-modules/stdcompat/default.nix
+++ b/pkgs/development/ocaml-modules/stdcompat/default.nix
@@ -12,8 +12,6 @@ buildDunePackage rec {
     sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU=";
   };
 
-  strictDeps = true;
-
   # Otherwise ./configure script will run and create files conflicting with dune.
   dontConfigure = true;
 
diff --git a/pkgs/development/ocaml-modules/uuuu/default.nix b/pkgs/development/ocaml-modules/uuuu/default.nix
index e84addcac8b..4473cd8217c 100644
--- a/pkgs/development/ocaml-modules/uuuu/default.nix
+++ b/pkgs/development/ocaml-modules/uuuu/default.nix
@@ -25,8 +25,6 @@ buildDunePackage rec {
 
   buildInputs = [ angstrom ];
 
-  strictDeps = true;
-
   nativeCheckInputs = [ re ];
   doCheck = true;
 
diff --git a/pkgs/development/ocaml-modules/yojson/default.nix b/pkgs/development/ocaml-modules/yojson/default.nix
index d191892e67a..38960dceb5e 100644
--- a/pkgs/development/ocaml-modules/yojson/default.nix
+++ b/pkgs/development/ocaml-modules/yojson/default.nix
@@ -9,8 +9,6 @@ buildDunePackage rec {
     sha256 = "sha256-h2u284r3OoSilDij2jXkhXxgoUVWpgZSWxSMb9vlRhs=";
   };
 
-  strictDeps = true;
-
   nativeBuildInputs = [ cppo ];
   propagatedBuildInputs = [ seq ];