diff options
author | Lionello Lunesu <lio+git@lunesu.com> | 2018-10-02 12:01:22 +0800 |
---|---|---|
committer | Lionello Lunesu <lio+git@lunesu.com> | 2018-10-02 12:01:22 +0800 |
commit | 132ed23f35547923f98b42af3f4ebf8d00ed1155 (patch) | |
tree | 8f2f18fce645cbb1561acf8ec7cab6809d552a09 | |
parent | 5a179ffb014ab77c0b9161bfbe4655bea4933ad7 (diff) |
xcodeenv.buildApp: inherit meta
Without `inherit meta;` there was no easy way for XCode packages to
set meta information of the final derivation.
-rw-r--r-- | pkgs/development/mobile/xcodeenv/build-app.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix index a94f2745894b..d7dd2d1190d8 100644 --- a/pkgs/development/mobile/xcodeenv/build-app.nix +++ b/pkgs/development/mobile/xcodeenv/build-app.nix @@ -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 '' |