Merge pull request #47642 from enumatech/buildApp-meta

xcodeenv.buildApp: inherit meta
This commit is contained in:
Matthew Bauer 2018-10-02 00:41:06 -05:00 committed by GitHub
commit ea857466e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
, bundleId ? null , bundleId ? null
, version ? null , version ? null
, title ? null , title ? null
, meta ? {}
}: }:
assert release -> codeSignIdentity != null && certificateFile != null && certificatePassword != null && provisioningProfile != null && signMethod != null; assert release -> codeSignIdentity != null && certificateFile != null && certificatePassword != null && provisioningProfile != null && signMethod != null;
@ -49,6 +50,7 @@ in
stdenv.mkDerivation { stdenv.mkDerivation {
name = stdenv.lib.replaceChars [" "] [""] name; name = stdenv.lib.replaceChars [" "] [""] name;
inherit src; inherit src;
inherit meta;
buildInputs = [ xcodewrapper ]; buildInputs = [ xcodewrapper ];
buildPhase = '' buildPhase = ''
${stdenv.lib.optionalString release '' ${stdenv.lib.optionalString release ''