diff options
author | Maxine E. Aubrey <maxeaubrey@gmail.com> | 2020-09-09 19:05:05 +0200 |
---|---|---|
committer | Maxine E. Aubrey <maxeaubrey@gmail.com> | 2020-09-10 10:05:51 +0200 |
commit | 3d08e8947d43c65499357af1fcd5a2ab9d9d2dc6 (patch) | |
tree | be80aed5315aba7bb3613086ed632d64ef03927b /pkgs/servers/traefik | |
parent | 1db7f6459758314b3c9a46652b438c40c916ee92 (diff) |
traefik: fix passing build flags
Diffstat (limited to 'pkgs/servers/traefik')
-rw-r--r-- | pkgs/servers/traefik/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/traefik/default.nix b/pkgs/servers/traefik/default.nix index b1f6fbbeeb7a7..b18530f8c09e0 100644 --- a/pkgs/servers/traefik/default.nix +++ b/pkgs/servers/traefik/default.nix @@ -26,9 +26,9 @@ buildGoModule rec { CODENAME=$(awk -F "=" '/CODENAME=/ { print $2}' script/binary) - makeFlagsArray+=("-ldflags=\ - -X github.com/containous/traefik/version.Version=${version} \ - -X github.com/containous/traefik/version.Codename=$CODENAME") + buildFlagsArray+=("-ldflags=\ + -X github.com/containous/traefik/v2/pkg/version.Version=${version} \ + -X github.com/containous/traefik/v2/pkg/version.Codename=$CODENAME") ''; meta = with stdenv.lib; { |