summary refs log tree commit diff
path: root/pkgs/development/tools/misc/cflow
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-16 14:53:27 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-16 14:53:27 +0000
commit90cdaa74e92bd2abe90f00641f0003e94cb02703 (patch)
treebdf34310bff10d76bdd7be98feb2d55586146fc9 /pkgs/development/tools/misc/cflow
parent23e53f0d74ecf7c63cf8d8c5c35ea31259314f1e (diff)
downloadnixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar.gz
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar.bz2
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar.lz
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar.xz
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.tar.zst
nixpkgs-90cdaa74e92bd2abe90f00641f0003e94cb02703.zip
GNU Cflow: Don't depend on Emacs on Cyg/Dar.
svn path=/nixpkgs/trunk/; revision=17201
Diffstat (limited to 'pkgs/development/tools/misc/cflow')
-rw-r--r--pkgs/development/tools/misc/cflow/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/cflow/default.nix b/pkgs/development/tools/misc/cflow/default.nix
index 46a85a68fe0..42d189387f2 100644
--- a/pkgs/development/tools/misc/cflow/default.nix
+++ b/pkgs/development/tools/misc/cflow/default.nix
@@ -14,7 +14,13 @@ stdenv.mkDerivation rec {
                 "$(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;