Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

try both options for nixops path

  • Loading branch information...
commit ff26bb9c421c505b5cb7b1ae1b1b8a446abc0a9a 1 parent acb00a4
@coreyoconnor coreyoconnor authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  nixops/deployment.py
View
2  nixops/deployment.py
@@ -72,6 +72,8 @@ def __init__(self, statefile, uuid, log_file=sys.stderr):
self.expr_path = os.path.realpath(os.path.dirname(__file__) + "/../../../../share/nix/nixops")
if not os.path.exists(self.expr_path):
+ self.expr_path = os.path.realpath(os.path.dirname(__file__) + "/../../../../../share/nix/nixops")
+ if not os.path.exists(self.expr_path):
self.expr_path = os.path.dirname(__file__) + "/../nix"
self.tempdir = nixops.util.SelfDeletingDir(tempfile.mkdtemp(prefix="nixops-tmp"))
Please sign in to comment.
Something went wrong with that request. Please try again.