mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
moar: add ldflags for proper version output
This commit is contained in:
parent
5417b35fdb
commit
dbe94c3294
|
@ -19,6 +19,11 @@ buildGoModule rec {
|
|||
installManPage ./moar.1
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X" "main.versionString=v${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Nice-to-use pager for humans";
|
||||
homepage = "https://github.com/walles/moar";
|
||||
|
|
Loading…
Reference in a new issue