moving stuff around

This commit is contained in:
nek0 2018-09-28 13:40:46 +02:00
parent 24775df8d2
commit 059286da56

View File

@ -6,8 +6,6 @@
let
version = "2.3.6";
gmic-version = "2.3.6";
in stdenv.mkDerivation rec {
name = "gmic-qt-${version}";
@ -51,10 +49,13 @@ in stdenv.mkDerivation rec {
chmod -R +w gmic gmic_qt
ln -s ${CImg} CImg
cd gmic_qt
'';
preConfigure = ''
cp ${gmic_stdlib} gmic/src/gmic_stdlib.h
make -C gmic/src CImg.h gmic_stdlib.h
cd gmic_qt
'';
nativeBuildInputs = [ cmake pkgconfig ];