GNU Cflow: Don't depend on Emacs on Cyg/Dar.

svn path=/nixpkgs/trunk/; revision=17201
This commit is contained in:
Ludovic Courtès 2009-09-16 14:53:27 +00:00
parent 23e53f0d74
commit 90cdaa74e9

View File

@ -14,7 +14,13 @@ stdenv.mkDerivation rec {
"$(cat ${stdenv.gcc}/nix-support/orig-gcc)/bin/cpp" "$(cat ${stdenv.gcc}/nix-support/orig-gcc)/bin/cpp"
''; '';
buildInputs = [ gettext emacs ]; buildInputs = [ gettext ] ++
# We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
stdenv.lib.optional
(! (stdenv.lib.lists.any (x: stdenv.system == x)
[ "i686-darwin" "i686-cygwin" ]))
emacs;
doCheck = true; doCheck = true;