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
+2 -8
View File
@@ -1,4 +1,4 @@
{ lib, bundlerApp, bundler, bundix }:
{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "xcpretty";
@@ -7,13 +7,7 @@ bundlerApp {
exes = [ "xcpretty" ];
passthru = {
updateScript = ''
set -e
echo
cd ${toString ./.}
${bundler}/bin/bundle lock --update
${bundix}/bin/bundix
'';
updateScript = bundlerUpdateScript "xcpretty";
};
meta = with lib; {