diff options
author | cmfwyp <cmfwyp@riseup.net> | 2016-08-07 22:01:39 -0400 |
---|---|---|
committer | cmfwyp <cmfwyp@riseup.net> | 2016-08-07 23:18:47 -0400 |
commit | 179d99242773e7bf30958dbb6952ca02d7a5834b (patch) | |
tree | b552e6876f1813dfaf50588ac80dce502238f222 /pkgs/applications/science/math | |
parent | 37c83ca3a2fdc86d248a74fad739771f21727c9a (diff) | |
download | nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar.gz nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar.bz2 nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar.lz nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar.xz nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.tar.zst nixlib-179d99242773e7bf30958dbb6952ca02d7a5834b.zip |
sage: fix TeX Live input
The Sage derivation had texLive, the old TeX Live packaging which is now marked as broken, as a build input. This replaces it by the current TeX Live packaging. However, the build remains broken. One of the problems can be solved by patching the hashbangs at the beginning of build scripts, but the build still gets stuck while building ncurses.
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/sage/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/science/math/sage/default.nix b/pkgs/applications/science/math/sage/default.nix index a19a49774404..6e0b4313b47d 100644 --- a/pkgs/applications/science/math/sage/default.nix +++ b/pkgs/applications/science/math/sage/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, m4, perl, gfortran, texLive, ffmpeg, tk +{ stdenv, fetchurl, m4, perl, gfortran, texlive, ffmpeg, tk , imagemagick, liblapack, python, openssl, libpng , which }: @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "102mrzzi215g1xn5zgcv501x9sghwg758jagx2jixvg1rj2jijj9"; }; - buildInputs = [ m4 perl gfortran texLive ffmpeg tk imagemagick liblapack + buildInputs = [ m4 perl gfortran texlive.combined.scheme-basic ffmpeg tk imagemagick liblapack python openssl libpng which]; patches = [ ./spkg-singular.patch ./spkg-python.patch ./spkg-git.patch ]; @@ -25,9 +25,12 @@ stdenv.mkDerivation rec { export HOME=$out/sageHome ''; + preBuild = "patchShebangs build"; + installPhase = ''DESTDIR=$out make install''; meta = { + broken = true; homepage = "http://www.sagemath.org"; description = "A free open source mathematics software system"; license = stdenv.lib.licenses.gpl2Plus; |