summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/dex
diff options
context:
space:
mode:
authornyanloutre <paul@nyanlout.re>2019-04-26 00:36:27 +0200
committernyanloutre <paul@nyanlout.re>2019-04-26 00:36:27 +0200
commit680d3d5ddcd8f1e72b669d97c6e83a8524cb20e3 (patch)
tree2f1abeaf3ceafce06e573ed02932d31855746af6 /pkgs/servers/dex
parentbd488d98142ced3ff86a3f40a185197f7a498427 (diff)
dex-oidc: add templates example
Diffstat (limited to 'pkgs/servers/dex')
-rw-r--r--pkgs/servers/dex/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/dex/default.nix b/pkgs/servers/dex/default.nix
index 639702fb90d7..1f9c2c9cb77f 100644
--- a/pkgs/servers/dex/default.nix
+++ b/pkgs/servers/dex/default.nix
@@ -21,6 +21,11 @@ buildGoPackage rec {
"-ldflags=-w -X ${goPackagePath}/version.Version=${src.rev}"
];
+ postInstall = ''
+ mkdir -p $out/share
+ cp -r go/src/${goPackagePath}/web $out/share/web
+ '';
+
meta = {
description = "OpenID Connect and OAuth2 identity provider with pluggable connectors";
license = lib.licenses.asl20;