Merge pull request #298776 from dotlambda/vaultwarden

vaultwarden: set VW_VERSION
This commit is contained in:
Sandro 2024-03-25 10:04:36 +01:00 committed by GitHub
commit ec6eb54a26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 ]