summary refs log tree commit diff
path: root/pkgs/build-support/coq/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/coq/default.nix')
-rw-r--r--pkgs/build-support/coq/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/coq/default.nix b/pkgs/build-support/coq/default.nix
index e26504a66f1..eb045ddf686 100644
--- a/pkgs/build-support/coq/default.nix
+++ b/pkgs/build-support/coq/default.nix
@@ -52,7 +52,7 @@ let
       inherit release releaseRev;
       location = { inherit domain owner repo; };
     } // optionalAttrs (args?fetcher) {inherit fetcher;});
-  fetched = fetch (if !isNull version then version else defaultVersion);
+  fetched = fetch (if version != null then version else defaultVersion);
   display-pkg = n: sep: v:
     let d = displayVersion.${n} or (if sep == "" then ".." else true); in
     n + optionalString (v != "" && v != null) (switch d [