summary refs log tree commit diff
path: root/pkgs/tools/archivers/unzip/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-04-23 13:31:10 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-04-23 13:31:10 +0000
commit7689a348c4eb7ed55bfaa273fadbb036f7f0bde7 (patch)
tree8ebc0483e7a9f60f47c00f1cc09675cfcf2bc2f1 /pkgs/tools/archivers/unzip/default.nix
parent0f10222e4ecee30837fe7631a37e343ccf82f49f (diff)
downloadnixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar.gz
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar.bz2
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar.lz
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar.xz
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.tar.zst
nixpkgs-7689a348c4eb7ed55bfaa273fadbb036f7f0bde7.zip
* Got rid of a lot of "postInstall=postInstall" and similar lines in
  builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
Diffstat (limited to 'pkgs/tools/archivers/unzip/default.nix')
-rw-r--r--pkgs/tools/archivers/unzip/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/archivers/unzip/default.nix b/pkgs/tools/archivers/unzip/default.nix
index 9e17e2d9edd..c72def3731a 100644
--- a/pkgs/tools/archivers/unzip/default.nix
+++ b/pkgs/tools/archivers/unzip/default.nix
@@ -2,13 +2,17 @@
 
 stdenv.mkDerivation {
   name = "unzip-5.52";
-  builder = ./builder.sh;
+  
   src = fetchurl {
     url = http://nixos.org/tarballs/unzip552.tar.gz;
     md5 = "9d23919999d6eac9217d1f41472034a9";
   };
 
+  buildPhase = "make -f unix/Makefile generic";
+
+  installPhase = "make -f unix/Makefile prefix=$out install";
+
   meta = {
-	  homepage = http://www.info-zip.org;
+    homepage = http://www.info-zip.org;
   };
 }