bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, bundlerEnv, ruby, makeWrapper }:
|
||||
{ stdenv, bundlerEnv, ruby, bundlerUpdateScript, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
||||
--set FASTLANE_SKIP_UPDATE_CHECK 1
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "fastlane";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to automate building and releasing iOS and Android apps";
|
||||
longDescription = "fastlane is a tool for iOS and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.";
|
||||
@@ -28,6 +30,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
peterromfeldhk
|
||||
nicknovitski
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p bash ruby bundler bundix
|
||||
|
||||
rm Gemfile.lock
|
||||
bundler install
|
||||
bundix
|
||||
|
||||
if [ "clean" == "$1" ]; then
|
||||
rm -r ~/.gem
|
||||
fi
|
||||
Reference in New Issue
Block a user