summary refs log tree commit diff
path: root/nixos/modules/services/security/oauth2_proxy.nix
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2020-04-28 11:50:34 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2020-04-28 20:30:29 +1000
commitc59c4e358989ce49afd177e6899549fbb8f8bf7f (patch)
tree52ab48d31449950028e1dcd461abbb8b58442212 /nixos/modules/services/security/oauth2_proxy.nix
parent3f175184904d925ad21bf07b1c783d2977a5a4c5 (diff)
downloadnixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar.gz
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar.bz2
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar.lz
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar.xz
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.tar.zst
nixpkgs-c59c4e358989ce49afd177e6899549fbb8f8bf7f.zip
nixos/*: use $out instead of $bin with buildGoPackage
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 46caadee204..d5c5437329e 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -577,7 +577,7 @@ in
       serviceConfig = {
         User = "oauth2_proxy";
         Restart = "always";
-        ExecStart = "${cfg.package.bin}/bin/oauth2_proxy ${configString}";
+        ExecStart = "${cfg.package}/bin/oauth2_proxy ${configString}";
         EnvironmentFile = mkIf (cfg.keyFile != null) cfg.keyFile;
       };
     };