Merge pull request #61934 from lilyball/cocoapods-update-script

cocoapods: define updateScript
This commit is contained in:
Silvan Mosberger 2019-05-24 15:24:39 +02:00 committed by GitHub
commit 2440863b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,9 @@ bundlerApp rec {
gemset = if beta then ./gemset-beta.nix else ./gemset.nix;
exes = [ "pod" ];
# toString prevents the update script from being copied into the nix store
passthru.updateScript = toString ./update;
meta = with lib; {
description = "CocoaPods manages dependencies for your Xcode projects.";
homepage = https://github.com/CocoaPods/CocoaPods;

View File

@ -3,6 +3,8 @@
set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
rm -f Gemfile.lock Gemfile-beta.lock
bundler lock
BUNDLE_GEMFILE=Gemfile-beta bundler lock --lockfile=Gemfile-beta.lock