From 7588d53f3792050ca4f2d8869159fa38b2a28f34 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 22 Apr 2009 07:22:28 +0000 Subject: [PATCH] * 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 --- pkgs/tools/misc/idutils/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/idutils/default.nix b/pkgs/tools/misc/idutils/default.nix index e1e4cf01ad37..a1ed9e9e449a 100644 --- a/pkgs/tools/misc/idutils/default.nix +++ b/pkgs/tools/misc/idutils/default.nix @@ -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;