ipe: fix Qt wrapping

Uses mkDerivation instead of stdenv.mkDerivation, to fix Qt wrapping problem.
gstqt5
Constantine Glen Evans 2020-04-16 11:21:46 -07:00 committed by Jon
parent 3b8a98d639
commit 919293492b
1 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
, libjpeg, libpng, qtbase
, libjpeg, libpng, qtbase, mkDerivation
}:
stdenv.mkDerivation rec {
mkDerivation rec {
name = "ipe-7.2.13";
src = fetchurl {
@ -20,13 +20,9 @@ stdenv.mkDerivation rec {
libjpeg libpng zlib qtbase freetype cairo lua5 texlive ghostscript
];
nativeBuildInputs = [ makeWrapper pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
postFixup = ''
for prog in $out/bin/*; do
wrapProgram "$prog" --prefix PATH : "${texlive}/bin"
done
'';
qtWrapperArgs = [ ''--prefix PATH : ${texlive}/bin'' ];
enableParallelBuilding = true;