bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
{ lib, bundlerApp }:
|
||||
{ lib, bundlerApp, bundlerUpdateScript }:
|
||||
|
||||
bundlerApp {
|
||||
pname = "fpm";
|
||||
gemdir = ./.;
|
||||
exes = [ "fpm" ];
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "fpm";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to build packages for multiple platforms with ease";
|
||||
homepage = https://github.com/jordansissel/fpm;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ manveru ];
|
||||
maintainers = with maintainers; [ manveru nicknovitski ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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