about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/coq
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-03-05 22:08:45 +0100
committerFelix Buehler <account@buehler.rocks>2023-03-06 22:40:04 +0100
commitd10e69c86bcd415f5c4347d3c6b981241e913465 (patch)
tree2ceccb33151ff07aa71680771ca6b6d549641164 /pkgs/applications/science/logic/coq
parent794f34657e066a5e8cc4bb34491fee02240c6ac4 (diff)
treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
Diffstat (limited to 'pkgs/applications/science/logic/coq')
-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; }