diff options
author | Benjamin Staffin <bstaffin@singlestore.com> | 2021-01-12 18:10:25 -0500 |
---|---|---|
committer | Benjamin Staffin <benley@gmail.com> | 2021-01-12 22:15:49 -0500 |
commit | 45622785109eaf1b32ecd29edef8212568561726 (patch) | |
tree | c1b99dad996eb09dbaee82fdae8cac621eeafa78 /pkgs/servers/dex | |
parent | e35938ab71ad19a82da135928f1e1d08ace79f65 (diff) |
dex-oidc: 2.23.0 -> 2.27.0
Fixes #109155 Addresses [CVE-2020-2690](https://nvd.nist.gov/vuln/detail/CVE-2020-26290)
Diffstat (limited to 'pkgs/servers/dex')
-rw-r--r-- | pkgs/servers/dex/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/servers/dex/default.nix b/pkgs/servers/dex/default.nix index 5886a2ae73a33..677c50010a3df 100644 --- a/pkgs/servers/dex/default.nix +++ b/pkgs/servers/dex/default.nix @@ -1,24 +1,24 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "dex"; - version = "2.23.0"; + version = "2.27.0"; src = fetchFromGitHub { owner = "dexidp"; repo = pname; rev = "v${version}"; - sha256 = "1fr5r7d0xwj0b69jhszyyif4yc4kiy7zpfcpf83zdy12mh8f96c8"; + sha256 = "0n66nm91qcmm00mz8f8x39xqr3y05qxk34fvka53s6xax1gxvxxi"; }; - goPackagePath = "github.com/dexidp/dex"; + vendorSha256 = "1k87q3ic02n2b632y3lmnclac1iaidmsl3f9py61myi5r02p03lp"; subPackages = [ "cmd/dex" ]; buildFlagsArray = [ - "-ldflags=-w -X github.com/dexidp/dex/version.Version=${src.rev}" + "-ldflags=-w -s -X github.com/dexidp/dex/version.Version=${src.rev}" ]; postInstall = '' |