Merge pull request #291784 from fd/sqlx-cli-updater

sqlx-cli: add passthru.updateScript
This commit is contained in:
Nick Cao 2024-02-27 08:54:18 -05:00 committed by GitHub
commit 853f7447cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,7 @@
, CoreFoundation
, Security
, SystemConfiguration
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@ -72,6 +73,8 @@ rustPlatform.buildRustPackage rec {
command = "sqlx --version";
};
passthru.updateScript = nix-update-script { };
meta = with lib; {
description =
"SQLx's associated command-line utility for managing databases, migrations, and enabling offline mode with sqlx::query!() and friends.";