diff --git a/Formula/nexus.rb b/Formula/nexus.rb
index ac3cbe5c08..cef9edcf5a 100644
--- a/Formula/nexus.rb
+++ b/Formula/nexus.rb
@@ -28,7 +28,7 @@ class Nexus < Formula
com.sonatype.nexus
ProgramArguments
- /usr/local/opt/nexus/bin/nexus
+ #{opt_prefix}/bin/nexus
start
RunAtLoad