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:
parent
5a179ffb01
commit
132ed23f35
@ -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 ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user