0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

step-ca: Set version in ldflags so this is correctly displayed in startup

message
This commit is contained in:
Jonathan Davies 2024-05-18 11:02:46 +01:00
parent 9dd634b59a
commit c43df0840e
No known key found for this signature in database

View file

@ -24,6 +24,11 @@ buildGoModule rec {
vendorHash = "sha256-XlfdIg8YHCeCvc7kZczUxlxUonyZSQATgsxLTMvNDk4=";
ldflags = [
"-w"
"-X main.Version=${version}"
];
nativeBuildInputs = lib.optionals hsmSupport [ pkg-config ];
buildInputs =