nip2: Use nativeBuildInputs as needed

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Kovacsics Robert 2021-08-22 17:16:00 +01:00 committed by Robert Kovacsics
parent aae58e15fe
commit 0317f61692

View File

@ -24,21 +24,23 @@ stdenv.mkDerivation rec {
sha256 = "0l7n427njif53npqn02gfjjly8y3khbrkzqxp10j5vp9h97psgiw";
};
buildInputs =
[
pkg-config
glib
libxml2
flex
bison
vips
gtk2
fftw
gsl
goffice
libgsf
makeWrapper
];
nativeBuildInputs = [
bison
flex
pkg-config
makeWrapper
];
buildInputs = [
glib
libxml2
vips
gtk2
fftw
gsl
goffice
libgsf
];
postFixup = ''
wrapProgram $out/bin/nip2 --set VIPSHOME "$out"