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()