termbg: add updateScript
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -23,6 +24,10 @@ rustPlatform.buildRustPackage rec {
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--generate-lockfile" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Program for terminal background color detection";
|
||||
homepage = "https://github.com/dalance/termbg";
|
||||
|
||||
Reference in New Issue
Block a user