bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, bundlerEnv, ruby }:
|
||||
{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "maphosts-${env.gems.maphosts.version}";
|
||||
@@ -16,11 +16,13 @@ stdenv.mkDerivation rec {
|
||||
ln -s "${env}/bin/maphosts" "$out/bin/maphosts"
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "maphosts";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small command line application for keeping your project hostnames in sync with /etc/hosts";
|
||||
homepage = https://github.com/mpscholten/maphosts;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mpscholten ];
|
||||
maintainers = with maintainers; [ mpscholten nicknovitski ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user