flake.nix: Add update script
This commit is contained in:
parent
5c537df885
commit
d142e98788
3 changed files with 86 additions and 8 deletions
nix
14
nix/update.nix
Normal file
14
nix/update.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
writeShellApplication,
|
||||
cargo,
|
||||
git,
|
||||
nix,
|
||||
npm,
|
||||
npm-check-updates,
|
||||
yq-go,
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "update";
|
||||
runtimeInputs = [cargo git nix npm npm-check-updates yq-go];
|
||||
text = builtins.readFile ./scripts/update.sh;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue