bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user