mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
trickster: remove with statements
This commit is contained in:
parent
31d91e9af6
commit
463a5e7c03
@ -21,9 +21,9 @@ buildGoModule rec {
|
|||||||
|
|
||||||
subPackages = [ "cmd/trickster" ];
|
subPackages = [ "cmd/trickster" ];
|
||||||
|
|
||||||
ldflags = with lib;
|
ldflags =
|
||||||
[ "-extldflags '-static'" "-s" "-w" ] ++
|
[ "-extldflags '-static'" "-s" "-w" ] ++
|
||||||
(mapAttrsToList (n: v: "-X main.application${n}=${v}") {
|
(lib.mapAttrsToList (n: v: "-X main.application${n}=${v}") {
|
||||||
BuildTime = "1970-01-01T00:00:00+0000";
|
BuildTime = "1970-01-01T00:00:00+0000";
|
||||||
GitCommitID = rev;
|
GitCommitID = rev;
|
||||||
GoVersion = "go${go.version}}";
|
GoVersion = "go${go.version}}";
|
||||||
|
Loading…
Reference in New Issue
Block a user