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
+5 -3
View File
@@ -1,6 +1,6 @@
{ lib, bundlerEnv, git}:
{ lib, bundlerEnv, bundlerUpdateScript, git }:
bundlerEnv {
name = "homesick-1.1.6";
pname = "homesick";
gemdir = ./.;
@@ -10,6 +10,8 @@ bundlerEnv {
sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
'';
passthru.updateScript = bundlerUpdateScript "homesick";
meta = with lib; {
description = "Your home directory is your castle. Don't leave your dotfiles behind";
longDescription =
@@ -20,7 +22,7 @@ bundlerEnv {
'';
homepage = https://github.com/technicalpickles/homesick;
license = licenses.mit;
maintainers = with maintainers; [ aaronschif ];
maintainers = with maintainers; [ aaronschif nicknovitski ];
platforms = platforms.unix;
};
}