From 46a15b49a02900df77a11fbb68e825f399f6edd9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 31 May 2006 15:07:56 +0000 Subject: [PATCH] * Ugh, bzip2 should be autotooled... svn path=/nixpkgs/trunk/; revision=5357 --- pkgs/tools/compression/bzip2/builder-cygwin.sh | 4 ++++ pkgs/tools/compression/bzip2/default.nix | 1 + 2 files changed, 5 insertions(+) create mode 100644 pkgs/tools/compression/bzip2/builder-cygwin.sh diff --git a/pkgs/tools/compression/bzip2/builder-cygwin.sh b/pkgs/tools/compression/bzip2/builder-cygwin.sh new file mode 100644 index 00000000000..0090a18f48b --- /dev/null +++ b/pkgs/tools/compression/bzip2/builder-cygwin.sh @@ -0,0 +1,4 @@ +source $stdenv/setup +installFlags="PREFIX=$out" + +genericBuild diff --git a/pkgs/tools/compression/bzip2/default.nix b/pkgs/tools/compression/bzip2/default.nix index eb537a21b0a..3869bdb06dc 100644 --- a/pkgs/tools/compression/bzip2/default.nix +++ b/pkgs/tools/compression/bzip2/default.nix @@ -5,6 +5,7 @@ stdenv.mkDerivation { builder = if stdenv.system == "powerpc-darwin" then ./builder-darwin.sh else if stdenv.system == "i686-freebsd" then ./builder-freebsd.sh + else if stdenv.system == "i686-cygwin" then ./builder-cygwin.sh else ./builder.sh; src = fetchurl { url = http://nix.cs.uu.nl/dist/tarballs/bzip2-1.0.3.tar.gz;