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:
parent
9dd634b59a
commit
c43df0840e
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ buildGoModule rec {
|
|||
|
||||
vendorHash = "sha256-XlfdIg8YHCeCvc7kZczUxlxUonyZSQATgsxLTMvNDk4=";
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = lib.optionals hsmSupport [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue