about summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-05-18 09:36:24 +0000
committerGitHub <noreply@github.com>2019-05-18 09:36:24 +0000
commit6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6 (patch)
tree6590fc8630f685b81d4f1a5487a54b31785f3c8b /pkgs/applications/science/math
parentd40443ba6de52faf08bb33198c6e501f46b85a89 (diff)
parent786f02f7a45621b9f628f63649ff92546aff83b7 (diff)
downloadnixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar.gz
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar.bz2
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar.lz
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar.xz
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.tar.zst
nixlib-6cf583cf2f8d3cb89fa8a4d6edd86f4236862ea6.zip
Merge pull request #60406 from JohnAZoidberg/remove-isnull
treewide: Remove usage of isNull
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/cplex/default.nix2
-rw-r--r--pkgs/applications/science/math/sage/sage-with-env.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/science/math/cplex/default.nix b/pkgs/applications/science/math/cplex/default.nix
index dae5e1b76d35..dc0e9ea1aa5d 100644
--- a/pkgs/applications/science/math/cplex/default.nix
+++ b/pkgs/applications/science/math/cplex/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
   version = "128";
   
   src =
-    if builtins.isNull releasePath then
+    if releasePath == null then
       throw ''
         This nix expression requires that the cplex installer is already
         downloaded to your machine. Get it from IBM: 
diff --git a/pkgs/applications/science/math/sage/sage-with-env.nix b/pkgs/applications/science/math/sage/sage-with-env.nix
index 18060f342a92..5bb7eda47d5d 100644
--- a/pkgs/applications/science/math/sage/sage-with-env.nix
+++ b/pkgs/applications/science/math/sage/sage-with-env.nix
@@ -59,7 +59,7 @@ let
 
   # return the names of all dependencies in the transitive closure
   transitiveClosure = dep:
-  if isNull dep then
+  if dep == null then
     # propagatedBuildInputs might contain null
     # (although that might be considered a programming error in the derivation)
     []