Skip to content

Commit

Permalink
feh: perlPackages needed only at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo authored and bjornfor committed Sep 9, 2016
1 parent 82dba95 commit 91e4e31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/applications/graphics/feh/default.nix
Expand Up @@ -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"
'';
Expand Down

0 comments on commit 91e4e31

Please sign in to comment.