cocoapods: define updateScript
This commit is contained in:
parent
6a713e6bbe
commit
6d81ca80ad
2 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue