mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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;
|
||||
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 New Issue
Block a user