git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit179d99242773e7bf30958dbb6952ca02d7a5834b authorcmfwyp <cmfwyp@riseup.net> dateSun 7 Aug 2016, 22:01 (10 years ago) parent37c83ca
1 file changed+5−2
pkgs/applications/science/math/sage/default.nix+5−2
pkgs/applications/science/math/sage/default.nix+5−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, perl, gfortran, texLive, ffmpeg, tk
1+{ stdenv, fetchurl, m4, perl, gfortran, texlive, ffmpeg, tk
22, imagemagick, liblapack, python, openssl, libpng
33, which
44}:
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "102mrzzi215g1xn5zgcv501x9sghwg758jagx2jixvg1rj2jijj9";
1212 };
1313
14− buildInputs = [ m4 perl gfortran texLive ffmpeg tk imagemagick liblapack
14+ buildInputs = [ m4 perl gfortran texlive.combined.scheme-basic ffmpeg tk imagemagick liblapack
1515 python openssl libpng which];
1616
1717 patches = [ ./spkg-singular.patch ./spkg-python.patch ./spkg-git.patch ];
@@ -25,9 +25,12 @@ stdenv.mkDerivation rec {
2525 export HOME=$out/sageHome
2626 '';
2727
28+ preBuild = "patchShebangs build";
29+
2830 installPhase = ''DESTDIR=$out make install'';
2931
3032 meta = {
33+ broken = true;
3134 homepage = "http://www.sagemath.org";
3235 description = "A free open source mathematics software system";
3336 license = stdenv.lib.licenses.gpl2Plus;