depot/third_party/nixpkgs/pkgs/tools/misc/esphome/update.nix

13 lines
186 B
Nix
Raw Normal View History

{ writeShellScript
, lib
, git
, nix-update
}:
writeShellScript "update-esphome" ''
PATH=${lib.makeBinPath [ git nix-update ]}
nix-update esphome.dashboard
nix-update esphome
''