about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-09-16 06:01:30 +0000
committerGitHub <noreply@github.com>2023-09-16 06:01:30 +0000
commit7f935747068f59c55c6102676926ea418ebe1c64 (patch)
tree1923adcaf7a5c9d169b33c3ad36ea857986bee93 /pkgs/applications/science
parentd06d8563410002974273ed1706c7144f62ca37ad (diff)
parent9f267c2eb5290577ad75edea6cbacfb9f16208c7 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/sage/sage.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/sage/sage.nix b/pkgs/applications/science/math/sage/sage.nix
index 2cd6336675c33..227e4bbdbfdbc 100644
--- a/pkgs/applications/science/math/sage/sage.nix
+++ b/pkgs/applications/science/math/sage/sage.nix
@@ -47,10 +47,11 @@ stdenv.mkDerivation rec {
   passthru = {
     tests = sage-tests;
     quicktest = sage-tests.override { longTests = false; timeLimit = 600; }; # as many tests as possible in ~10m
-    doc = sagedoc;
     lib = sage-with-env.env.lib;
     with-env = sage-with-env;
     kernelspec = jupyter-kernel-definition;
+  } // lib.optionalAttrs withDoc {
+    doc = sagedoc;
   };
 
   meta = with lib; {