bundlerUpdateScript: init and use (#64822)

This commit is contained in:
Nick Novitski
2019-07-22 12:02:47 +00:00
committed by zimbatm
parent b24841dd22
commit 7136e0d0a6
79 changed files with 310 additions and 249 deletions
+3 -3
View File
@@ -1,12 +1,11 @@
{ lib, bundlerApp, ruby }:
{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp rec {
inherit ruby;
pname = "jazzy";
gemdir = ./.;
exes = [ "jazzy" ];
passthru.updateScript = ./update;
passthru.updateScript = bundlerUpdateScript "jazzy";
meta = with lib; {
description = "A command-line utility that generates documentation for Swift or Objective-C";
@@ -16,6 +15,7 @@ bundlerApp rec {
maintainers = with maintainers; [
peterromfeldhk
lilyball
nicknovitski
];
};
}
-10
View File
@@ -1,10 +0,0 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bash bundler bundix
set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
rm -f Gemfile.lock
bundler lock
bundix