bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{ lib, bundlerEnv, ruby }:
|
||||
{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
|
||||
|
||||
bundlerEnv rec {
|
||||
inherit ruby;
|
||||
pname = "teamocil";
|
||||
gemdir = ./.;
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "teamocil";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple tool used to automatically create windows and panes in tmux with YAML files";
|
||||
homepage = https://github.com/remiprev/teamocil;
|
||||
@@ -12,6 +14,7 @@ bundlerEnv rec {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [
|
||||
zachcoyle
|
||||
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 -rf ~/.gem
|
||||
fi
|
||||
Reference in New Issue
Block a user