mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
dasel: Set version in ldflags
This commit is contained in:
parent
2baccd2c8f
commit
c41441cf1e
@ -16,6 +16,10 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = "1552k85z4s6gv7sss7dccv3h8x22j2sr12icp6s7s0a3i4iwyksw";
|
vendorSha256 = "1552k85z4s6gv7sss7dccv3h8x22j2sr12icp6s7s0a3i4iwyksw";
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=-s -w -X github.com/tomwright/dasel/internal.Version=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Query and update data structures from the command line";
|
description = "Query and update data structures from the command line";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user