feh: perlPackages needed only at build time

This commit is contained in:
José Romildo Malaquias 2016-09-09 09:16:34 -03:00 committed by Bjørn Forsman
parent 82dba95079
commit 91e4e31847

View File

@ -11,10 +11,11 @@ stdenv.mkDerivation rec {
outputs = [ "out" "doc" ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ xlibsWrapper imlib2 libjpeg libpng libXinerama curl libexif ]
nativeBuildInputs = [ makeWrapper ]
++ stdenv.lib.optional doCheck [ perlPackages.TestCommand perlPackages.TestHarness ];
buildInputs = [ xlibsWrapper imlib2 libjpeg libpng libXinerama curl libexif ];
preBuild = ''
makeFlags="PREFIX=$out exif=1"
'';