xcodeenv.buildApp: inherit meta

Without `inherit meta;` there was no easy way for XCode packages to
set meta information of the final derivation.
This commit is contained in:
Lionello Lunesu 2018-10-02 12:01:22 +08:00
parent 5a179ffb01
commit 132ed23f35
No known key found for this signature in database
GPG Key ID: 27F46970A2B4B50A

View File

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