Skip to content

Commit

Permalink
Rewrite CLI in Python
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jul 21, 2023
1 parent 0e1a7b3 commit 216d6d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"false",
]

SRC_DIR = Path(pkgutil.get_loader(__package__).load_module(__package__).__file__, '..', '..')
SRC_DIR = Path(pkgutil.get_loader(__package__).load_module(__package__).__file__, '..', '..', 'src')
MODULES_DIR = (SRC_DIR / 'modules').resolve()
FLAKE_FILE_TEMPL = os.path.join(MODULES_DIR, "flake.tmpl.nix")
FLAKE_FILE = ".devenv.flake.nix"
Expand Down Expand Up @@ -417,4 +417,4 @@ def print_dev_env():

def get_version():
with open(Path(MODULES_DIR, "latest-version")) as f:
return f.read().strip()
return f.read().strip()

0 comments on commit 216d6d0

Please sign in to comment.