mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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
|
||||
, makeWrapper }:
|
||||
let ghostscript = ghostscriptX; in
|
||||
, makeQtWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ipe-7.1.10";
|
||||
|
||||
@ -21,16 +22,18 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
IPEPREFIX="$$out";
|
||||
URWFONTDIR="${texLive}/texmf-dist/fonts/type1/urw/";
|
||||
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
||||
LUA_PACKAGE = "lua";
|
||||
|
||||
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
|
||||
wrapProgram "$prog" --prefix PATH : "${texLive}/bin"
|
||||
wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin"
|
||||
done
|
||||
'';
|
||||
|
||||
|
@ -12165,7 +12165,10 @@ let
|
||||
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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user