From 3386a0e63d90de7deb542125abc7b11fcb727c5d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 30 Jul 2010 10:48:13 +0000 Subject: [PATCH] svn path=/nixpkgs/trunk/; revision=22822 --- pkgs/games/zoom/default.nix | 7 +++++-- pkgs/top-level/all-packages.nix | 3 +-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/games/zoom/default.nix b/pkgs/games/zoom/default.nix index 7fbd61c3e7a9..1ca39ebc73b2 100644 --- a/pkgs/games/zoom/default.nix +++ b/pkgs/games/zoom/default.nix @@ -1,14 +1,17 @@ -{stdenv, fetchurl, perl, expat, xlibs, freetype}: +{stdenv, fetchurl, perl, expat, x11, freetype}: # !!! assert freetype == xlibs.freetype stdenv.mkDerivation { name = "zoom-1.0.2alpha1"; + src = fetchurl { url = http://www.logicalshift.demon.co.uk/unix/zoom/zoom-1.0.2alpha1.tar.gz; md5 = "91b2fe444028178aa3b23bd0e3ae1a61"; }; - buildInputs = [perl expat xlibs freetype]; + + buildInputs = [perl expat x11 freetype]; + # Zoom doesn't add the right directory in the include path. CFLAGS = ["-I" (freetype + "/include/freetype2")]; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 39a2016636f8..7cdabe0bc4fe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9487,8 +9487,7 @@ let }; zoom = import ../games/zoom { - inherit fetchurl stdenv perl expat freetype; - inherit (xlibs) xlibs; + inherit fetchurl stdenv perl expat freetype x11; }; keen4 = import ../games/keen4 {