From bf571aef78adc2d7d9db83dd8f2fa20b81b4d7cf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Mar 2005 15:50:11 +0000 Subject: [PATCH] * Skip flex on Mac OS X, use the right unzip. svn path=/nixpkgs/trunk/; revision=2446 --- pkgs/system/all-packages-generic.nix | 5 ++++- pkgs/system/populate-cache.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index e7e9c2f0601..8fb66915115 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -90,7 +90,10 @@ rec { inherit fetchurl stdenv; }; - unzip = (import ../tools/archivers/unzip) { + # !!! fix this + unzip = if stdenv.system == "i686-linux" then unzip550 else unzip552; + + unzip550 = (import ../tools/archivers/unzip) { inherit fetchurl stdenv; }; diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix index 105de73cdb2..070d3eb82a2 100644 --- a/pkgs/system/populate-cache.nix +++ b/pkgs/system/populate-cache.nix @@ -96,7 +96,7 @@ let { aterm subversion bisonnew - flexnew +# flexnew libxml2 libxslt docbook_xml_dtd_42