From 216d6d0d2d23a2297e9c16ff48b5fe8f7783abde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 10 Jul 2023 11:27:33 +0100 Subject: [PATCH] Rewrite CLI in Python --- src/devenv/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devenv/cli.py b/src/devenv/cli.py index 856e5e26c..0b6dda616 100644 --- a/src/devenv/cli.py +++ b/src/devenv/cli.py @@ -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" @@ -417,4 +417,4 @@ def print_dev_env(): def get_version(): with open(Path(MODULES_DIR, "latest-version")) as f: - return f.read().strip() \ No newline at end of file + return f.read().strip()