diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 16:45:51 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 21:35:06 +1000 |
commit | 13ea123c74cdcb33cdc376b16677044512615afa (patch) | |
tree | 927c311167547c8b17d63406095806f21533cf68 /pkgs/servers/http | |
parent | eada59b86b4925db45e705a6058eaca92485e939 (diff) |
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/pomerium/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/http/pomerium/default.nix b/pkgs/servers/http/pomerium/default.nix index ea9628417d7dc..7b28200b284e6 100644 --- a/pkgs/servers/http/pomerium/default.nix +++ b/pkgs/servers/http/pomerium/default.nix @@ -25,7 +25,7 @@ buildGoModule rec { "cmd/pomerium-cli" ]; - buildFlagsArray = let + ldflags = let # Set a variety of useful meta variables for stamping the build with. setVars = { Version = "v${version}"; @@ -35,7 +35,7 @@ buildGoModule rec { }; varFlags = concatStringsSep " " (mapAttrsToList (name: value: "-X github.com/pomerium/pomerium/internal/version.${name}=${value}") setVars); in [ - "-ldflags=${varFlags}" + "${varFlags}" ]; nativeBuildInputs = [ |