Unverified Commit eac4face authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #254287 from Artturin/sagedocfix1

sage: If docs are not enabled then don't include a doc attribute
parents 512573a4 cf3d29d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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; {