Skip to content

Commit

Permalink
fastlane: disable update check
Browse files Browse the repository at this point in the history
(cherry picked from commit 63ed3c8)
  • Loading branch information
nicknovitski authored and Mic92 committed Oct 12, 2018
1 parent b72998b commit d308e69
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions pkgs/tools/admin/fastlane/default.nix
@@ -1,11 +1,27 @@
{ lib, bundlerEnv, ruby }:
{ stdenv, bundlerEnv, ruby, makeWrapper }:

bundlerEnv rec {
inherit ruby;
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "fastlane";
gemdir = ./.;
version = (import ./gemset.nix).fastlane.version;

meta = with lib; {
nativeBuildInputs = [ makeWrapper ];

env = bundlerEnv {
name = "${name}-gems";
inherit pname ruby;
gemdir = ./.;
};

phases = [ "installPhase" ];

installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/fastlane $out/bin/fastlane \
--set FASTLANE_SKIP_UPDATE_CHECK 1
'';

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.";
homepage = https://github.com/fastlane/fastlane;
Expand Down

0 comments on commit d308e69

Please sign in to comment.