about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2023-03-16 11:10:22 -0300
committerGitHub <noreply@github.com>2023-03-16 11:10:22 -0300
commit6e557333593580724cbe070ef0ab8f46f8faf49d (patch)
tree9a74711c5858544e70c1d998d2be77a8b77e0881 /pkgs/applications/science
parentfe49120d973443e308ba531f4cfb1ce0a7e89a54 (diff)
parentd10e69c86bcd415f5c4347d3c6b981241e913465 (diff)
Merge pull request #219747 from Stunkymonkey/deprecate-isNull
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/logic/coq/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/science/logic/coq/default.nix b/pkgs/applications/science/logic/coq/default.nix
index 49c9fc47fef26..3740d4e392687 100644
--- a/pkgs/applications/science/logic/coq/default.nix
+++ b/pkgs/applications/science/logic/coq/default.nix
@@ -70,7 +70,7 @@ let
     substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
     substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
   '';
-  ocamlPackages = if !isNull customOCamlPackages then customOCamlPackages
+  ocamlPackages = if customOCamlPackages != null then customOCamlPackages
     else with versions; switch coq-version [
       { case = range "8.16" "8.17"; out = ocamlPackages_4_14; }
       { case = range "8.14" "8.15"; out = ocamlPackages_4_12; }