···1415 postPatch = lib.optionalString stdenv.cc.isClang ''
16 substituteInPlace Makefile --replace "-fno-guess-branch-probability" ""
17+18+ for f in $(find -name "*.h" -or -name "*.cpp"); do
19+ substituteInPlace "$f" --replace-quiet "log2" "_log2"
20+ done
21 '';
2223 buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "CXX=${stdenv.cc.targetPrefix}c++" ];
-2
pkgs/applications/science/math/sage/sage-env.nix
···39, ecm
40, lcalc
41, rubiks
42-, flintqs
43, blas
44, lapack
45, flint3
···93 ecm
94 lcalc
95 rubiks
96- flintqs
97 jdk # only needed for `jmol` which may be replaced in the future
98 less # needed to prevent transient test errors until https://github.com/ipython/ipython/pull/11864 is resolved
99 ]
···39, ecm
40, lcalc
41, rubiks
042, blas
43, lapack
44, flint3
···92 ecm
93 lcalc
94 rubiks
095 jdk # only needed for `jmol` which may be replaced in the future
96 less # needed to prevent transient test errors until https://github.com/ipython/ipython/pull/11864 is resolved
97 ]
···13, doxygen
14, graphviz
15, latex2html
16-# upstream generates docs with texinfo 4. later versions of texinfo
17-# use letters instead of numbers for post-appendix chapters, and we
18-# want it to match the upstream format because sage depends on it.
19-, texinfo4
20, texliveSmall
21-, enableDocs ? true
22, enableGfanlib ? true
23}:
24···85 doxygen
86 graphviz
87 latex2html
88- texinfo4
89 texliveSmall
90 ] ++ lib.optionals stdenv.isDarwin [ getconf ];
91 depsBuildBuild = [ buildPackages.stdenv.cc ];
···37 # see https://github.com/NixOS/nixpkgs/pull/117465
38 if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm" else
39 if stdenv.hostPlatform.system == "armv7l-linux" then "linux-arm" else
040 if stdenv.hostPlatform.system == "x86_64-darwin" then "macosx-thr" else
41 if stdenv.hostPlatform.system == "i686-darwin" then "macosx-64-thr" else
42 if stdenv.hostPlatform.system == "i686-cygwin" then "win32" else
···37 # see https://github.com/NixOS/nixpkgs/pull/117465
38 if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm" else
39 if stdenv.hostPlatform.system == "armv7l-linux" then "linux-arm" else
40+ if stdenv.hostPlatform.system == "aarch64-darwin" then "macosx" else
41 if stdenv.hostPlatform.system == "x86_64-darwin" then "macosx-thr" else
42 if stdenv.hostPlatform.system == "i686-darwin" then "macosx-64-thr" else
43 if stdenv.hostPlatform.system == "i686-cygwin" then "win32" else
···347 fitnesstrax = throw "fitnesstrax was removed from nixpkgs because it disappeared upstream and no longer compiles"; # added 2023-07-04
348 flashrom-stable = flashprog; # Added 2024-03-01
349 flatbuffers_2_0 = flatbuffers; # Added 2022-05-12
0350 flutter2 = throw "flutter2 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2023-07-03
351 flutter37 = throw "flutter37 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2023-07-03
352 foldingathome = fahclient; # Added 2020-09-03
···347 fitnesstrax = throw "fitnesstrax was removed from nixpkgs because it disappeared upstream and no longer compiles"; # added 2023-07-04
348 flashrom-stable = flashprog; # Added 2024-03-01
349 flatbuffers_2_0 = flatbuffers; # Added 2022-05-12
350+ flintqs = throw "FlintQS has been removed due to lack of maintenance and security issues; use SageMath or FLINT instead"; # Added 2024-03-21
351 flutter2 = throw "flutter2 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2023-07-03
352 flutter37 = throw "flutter37 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2023-07-03
353 foldingathome = fahclient; # Added 2020-09-03