cocoapods: define updateScript
This commit is contained in:
parent
6a713e6bbe
commit
6d81ca80ad
@ -9,6 +9,9 @@ bundlerApp rec {
|
|||||||
gemset = if beta then ./gemset-beta.nix else ./gemset.nix;
|
gemset = if beta then ./gemset-beta.nix else ./gemset.nix;
|
||||||
exes = [ "pod" ];
|
exes = [ "pod" ];
|
||||||
|
|
||||||
|
# toString prevents the update script from being copied into the nix store
|
||||||
|
passthru.updateScript = toString ./update;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CocoaPods manages dependencies for your Xcode projects.";
|
description = "CocoaPods manages dependencies for your Xcode projects.";
|
||||||
homepage = https://github.com/CocoaPods/CocoaPods;
|
homepage = https://github.com/CocoaPods/CocoaPods;
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
rm -f Gemfile.lock Gemfile-beta.lock
|
rm -f Gemfile.lock Gemfile-beta.lock
|
||||||
bundler lock
|
bundler lock
|
||||||
BUNDLE_GEMFILE=Gemfile-beta bundler lock --lockfile=Gemfile-beta.lock
|
BUNDLE_GEMFILE=Gemfile-beta bundler lock --lockfile=Gemfile-beta.lock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user