trickster: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:10:57 -07:00
parent 31d91e9af6
commit 463a5e7c03
No known key found for this signature in database

View File

@ -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}}";