ipe: use texlive-new
This commit is contained in:
parent
269ae2e29d
commit
f7edf63b23
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texLive, ghostscriptX
|
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
|
||||||
, libjpeg, qtbase
|
, libjpeg, qtbase
|
||||||
, makeWrapper }:
|
, makeQtWrapper
|
||||||
let ghostscript = ghostscriptX; in
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ipe-7.1.10";
|
name = "ipe-7.1.10";
|
||||||
|
|
||||||
@ -21,16 +22,18 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
IPEPREFIX="$$out";
|
IPEPREFIX="$$out";
|
||||||
URWFONTDIR="${texLive}/texmf-dist/fonts/type1/urw/";
|
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
||||||
LUA_PACKAGE = "lua";
|
LUA_PACKAGE = "lua";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texLive ghostscript makeWrapper
|
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
for prog in $out/bin/*; do
|
for prog in $out/bin/*; do
|
||||||
wrapProgram "$prog" --prefix PATH : "${texLive}/bin"
|
wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -12165,7 +12165,10 @@ let
|
|||||||
lua = lua5;
|
lua = lua5;
|
||||||
};
|
};
|
||||||
|
|
||||||
ipe = qt5Libs.callPackage ../applications/graphics/ipe { };
|
ipe = qt5Libs.callPackage ../applications/graphics/ipe {
|
||||||
|
ghostscript = ghostscriptX;
|
||||||
|
texlive = texlive.combine { inherit (texlive) scheme-small; };
|
||||||
|
};
|
||||||
|
|
||||||
iptraf = callPackage ../applications/networking/iptraf { };
|
iptraf = callPackage ../applications/networking/iptraf { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user