* idutils: don't depend on Emacs on non-Linux platforms, since Emacs

(or one of its dependencies) likely doesn't build.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15240
This commit is contained in:
Eelco Dolstra 2009-04-22 07:22:28 +00:00
parent a951fc2050
commit 7588d53f37

View file

@ -2,12 +2,13 @@
stdenv.mkDerivation rec {
name = "idutils-4.2";
src = fetchurl {
url = "mirror://gnu/idutils/${name}.tar.gz";
sha256 = "16gsy7vrjax2zl4galwq03l0y97d18p0pyd5cccyc4i8y3mhwx65";
};
buildInputs = [ emacs ];
buildInputs = stdenv.lib.optional stdenv.isLinux emacs;
doCheck = true;