summary refs log tree commit diff
path: root/nixos/modules/services/security/oauth2_proxy.nix
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-06-13 23:32:16 +0200
committerKamil Chmielewski <kamil.chm@gmail.com>2016-06-13 23:32:16 +0200
commit437ea9fd370f85451801ae5904a364175ce4eef8 (patch)
tree8e25787064f24fc8c8d11fac3dcd55a2e776cf39 /nixos/modules/services/security/oauth2_proxy.nix
parentd2b58dd39a43282a3657c591f636674912717aab (diff)
downloadnixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar.gz
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar.bz2
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar.lz
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar.xz
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.tar.zst
nixpkgs-437ea9fd370f85451801ae5904a364175ce4eef8.zip
Fixes #16181 - using bin output for Go services
Diffstat (limited to 'nixos/modules/services/security/oauth2_proxy.nix')
-rw-r--r--nixos/modules/services/security/oauth2_proxy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/oauth2_proxy.nix b/nixos/modules/services/security/oauth2_proxy.nix
index b149373076a..4c20392214f 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -515,7 +515,7 @@ in
       serviceConfig = {
         User = "oauth2_proxy";
         Restart = "always";
-        ExecStart = "${cfg.package}/bin/oauth2_proxy ${mkCommandLine cfg}";
+        ExecStart = "${cfg.package.bin}/bin/oauth2_proxy ${mkCommandLine cfg}";
       };
     };