From 112ebed491c7f805cd10eb443dee85d2a02581c0 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 22 Mar 2018 15:02:09 +0100 Subject: [PATCH] xcodeenv: publish xcarchive directory in the output store path if requested --- pkgs/development/mobile/xcodeenv/build-app.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix index 436b55631b6f..a94f2745894b 100644 --- a/pkgs/development/mobile/xcodeenv/build-app.nix +++ b/pkgs/development/mobile/xcodeenv/build-app.nix @@ -121,6 +121,10 @@ stdenv.mkDerivation { echo "doc install \"$out/$appname.html\"" >> $out/nix-support/hydra-build-products ''} ''} + ${stdenv.lib.optionalString generateXCArchive '' + mkdir -p $out + mv "${name}.xcarchive" $out + ''} # Delete our temp keychain ${deleteKeychain}