GNU Cflow: Don't depend on Emacs on Cyg/Dar.
svn path=/nixpkgs/trunk/; revision=17201
This commit is contained in:
parent
23e53f0d74
commit
90cdaa74e9
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user