From 463a5e7c03ce739eca5217d3fa9f3a4309bbbb47 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 16 Aug 2024 14:10:57 -0700 Subject: [PATCH] trickster: remove with statements --- pkgs/servers/trickster/trickster.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/trickster/trickster.nix b/pkgs/servers/trickster/trickster.nix index d11144a8359a..2f0a3b60f217 100644 --- a/pkgs/servers/trickster/trickster.nix +++ b/pkgs/servers/trickster/trickster.nix @@ -21,9 +21,9 @@ buildGoModule rec { subPackages = [ "cmd/trickster" ]; - ldflags = with lib; + ldflags = [ "-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"; GitCommitID = rev; GoVersion = "go${go.version}}";