Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #272572 from RRvW/fix-vaultwarden-version-info

[Release 23.05] vaultwarden: Add VW_VERSION env to fix version detection

authored by Nick Cao and committed by GitHub ef4e34d3 c02b3d1c

Changed files
+4
pkgs
tools
security
vaultwarden
+4
pkgs/tools/security/vaultwarden/default.nix
··· 11 11 pname = "vaultwarden"; 12 12 version = "1.28.1"; 13 13 14 + # the build step requires this env variable to figure out the version 15 + # if this is unset, the server will respond with "null" as version, which crashes newer mobile clients 16 + VW_VERSION = version; 17 + 14 18 src = fetchFromGitHub { 15 19 owner = "dani-garcia"; 16 20 repo = pname;