vaultwarden: set VW_VERSION

It is used to display the "Server Installed" version in the admin panel.
This commit is contained in:
Robert Schütz 2024-03-24 17:12:06 -07:00
parent 85a4ee7da6
commit ee62d2dd74
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-K0T0uTERjxlI3bGG/Tz6sJ0A08J0ROAhpppdZcdQPB8=";
# used for "Server Installed" version in admin panel
env.VW_VERSION = version;
nativeBuildInputs = [ pkg-config ];
buildInputs = with lib; [ openssl ]
++ optionals stdenv.isDarwin [ libiconv Security CoreServices SystemConfiguration ]