cocoapods: define updateScript

This commit is contained in:
Lily Ballard 2019-05-22 21:23:35 -07:00
parent 6a713e6bbe
commit 6d81ca80ad
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