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
@@ -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;
};
}
-10
View File
@@ -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