diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-21 04:26:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-21 04:26:00 -0500 |
commit | 9d74f420a191565687a6f2bbf299942a93e991ea (patch) | |
tree | dc03a96eefd36e38776c92c836c3e30f2e128a46 /pkgs/servers | |
parent | 04aee5f07006fcb46486404010de17ee693b9a35 (diff) |
dex-oidc: use buildGoPackage
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/dex/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/dex/default.nix b/pkgs/servers/dex/default.nix index 21aa31d6235e5..799b73294e80b 100644 --- a/pkgs/servers/dex/default.nix +++ b/pkgs/servers/dex/default.nix @@ -1,6 +1,6 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoPackage, fetchFromGitHub }: -buildGoModule rec { +buildGoPackage rec { pname = "dex"; version = "2.17.0"; @@ -11,7 +11,7 @@ buildGoModule rec { sha256 = "1z94svpiwrs64m83gpfnniv0ac1fnmvywvl05f20ind1wlf8bvwn"; }; - modSha256 = "043sjq547nwg5v8708nhij0g7d2j28pyn676fgbnpps35ymnywfi"; + goPackagePath = "github.com/dexidp/dex"; subPackages = [ "cmd/dex" @@ -22,8 +22,8 @@ buildGoModule rec { ]; postInstall = '' - mkdir -p $out/share - cp -r $src/web $out/share/web + mkdir -p $bin/share + cp -r $src/web $bin/share/web ''; meta = with lib; { |