From ed58c55155511c4c0da6ec6b5d4470f297cefa62 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 2 Jul 2011 19:21:28 +0000 Subject: [PATCH] * xen: Build succesfully if $out already exists (needed for WCRE). svn path=/nixpkgs/trunk/; revision=27580 --- pkgs/applications/virtualization/xen/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/xen/default.nix b/pkgs/applications/virtualization/xen/default.nix index 587f0c99f3ac..9b8cff7d9c65 100644 --- a/pkgs/applications/virtualization/xen/default.nix +++ b/pkgs/applications/virtualization/xen/default.nix @@ -120,7 +120,8 @@ stdenv.mkDerivation { installPhase = '' - cp -prvd dist/install/nix/store/* $out + mkdir -p $out + cp -prvd dist/install/nix/store/*/* $out/ cp -prvd dist/install/boot $out/boot cp -prvd dist/install/etc $out/etc cp -dR docs/man1 docs/man5 $out/share/man/