git.iko.soy/typeable/nixpkgs
on master help sign in
ipe: use texlive-new
commitf7edf63b23e25305fbe6c77d75a87fba7891beb5 authorThomas Tuegel <ttuegel@gmail.com> dateSat 12 Dec 2015, 10:57 (11 years ago) parent269ae2e
2 files changed+14−8
pkgs/applications/graphics/ipe/default.nix+10−7 pkgs/top-level/all-packages.nix+4−1
pkgs/applications/graphics/ipe/default.nix+10−7
@@ -1,7 +1,8 @@
1−{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texLive, ghostscriptX
1+{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
22, libjpeg, qtbase
3−, makeWrapper }:
4−let ghostscript = ghostscriptX; in
3+, makeQtWrapper
4+}:
5+
56stdenv.mkDerivation rec {
67 name = "ipe-7.1.10";
78
@@ -21,16 +22,18 @@ stdenv.mkDerivation rec {
2122 '';
2223
2324 IPEPREFIX="$$out";
24− URWFONTDIR="${texLive}/texmf-dist/fonts/type1/urw/";
25+ URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
2526 LUA_PACKAGE = "lua";
2627
2728 buildInputs = [
28− libjpeg pkgconfig zlib qtbase freetype cairo lua5 texLive ghostscript makeWrapper
29+ libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript
2930 ];
3031
31− postInstall = ''
32+ nativeBuildInputs = [ makeQtWrapper ];
33+
34+ postFixup = ''
3235 for prog in $out/bin/*; do
33− wrapProgram "$prog" --prefix PATH : "${texLive}/bin"
36+ wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin"
3437 done
3538 '';
3639
pkgs/top-level/all-packages.nix+4−1
@@ -12165,7 +12165,10 @@ let
1216512165 lua = lua5;
1216612166 };
1216712167
12168− ipe = qt5Libs.callPackage ../applications/graphics/ipe { };
12168+ ipe = qt5Libs.callPackage ../applications/graphics/ipe {
12169+ ghostscript = ghostscriptX;
12170+ texlive = texlive.combine { inherit (texlive) scheme-small; };
12171+ };
1216912172
1217012173 iptraf = callPackage ../applications/networking/iptraf { };
1217112174