From 31b09ab6954436b6653ac6de49c02629036cd337 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 1 Aug 2011 01:17:33 +0000 Subject: [PATCH] openjdk: Install build results to $out svn path=/nixpkgs/trunk/; revision=28098 --- pkgs/development/compilers/openjdk/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix index 623896ae2773..9aafd0acee72 100644 --- a/pkgs/development/compilers/openjdk/default.nix +++ b/pkgs/development/compilers/openjdk/default.nix @@ -78,5 +78,11 @@ stdenv.mkDerivation rec { configurePhase = '' make $makeFlags sanity ''; + + installPhase = '' + ensureDir $out + cp -av build/*/j2sdk-image/* $out + rm $out/src.zip + ''; }