Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore non-flake support #16

Open
sellout opened this issue Oct 24, 2023 · 1 comment
Open

Restore non-flake support #16

sellout opened this issue Oct 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@sellout
Copy link
Owner

sellout commented Oct 24, 2023

Currently Project Manager requires a flake. However, it should be fine to have it work without a flake, using some heuristics (finding a repo directory like .git) to set PROJECT_ROOT and find the config in the default location.

It could produce a project-manager.nix that defines a shell that can be referenced by shell.nix. And perhaps also add a project-manager develop command that will try nix develop $PROJECT_ROOT#project-manager || nix-shell $PROJECT_ROOT/project-manager.nix.

@sellout sellout added the enhancement New feature or request label Oct 24, 2023
@sellout
Copy link
Owner Author

sellout commented Aug 12, 2024

Should pay attention to xdg configuration producing default.nix and shell.nix in .local/state/project-manager/ if it’s enabled and in .project-manager/ if it’s not.

These files should contain as much of the flake-related components as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant