mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Merge pull request #272572 from RRvW/fix-vaultwarden-version-info
[Release 23.05] vaultwarden: Add VW_VERSION env to fix version detection
This commit is contained in:
@@ -11,6 +11,10 @@ rustPlatform.buildRustPackage rec {
|
||||
pname = "vaultwarden";
|
||||
version = "1.28.1";
|
||||
|
||||
# the build step requires this env variable to figure out the version
|
||||
# if this is unset, the server will respond with "null" as version, which crashes newer mobile clients
|
||||
VW_VERSION = version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dani-garcia";
|
||||
repo = pname;
|
||||
|
||||
Reference in New Issue
Block a user