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

remove pre-commit install from nix dev shell (#2461) #2471

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

fidgetingbits
Copy link
Collaborator

Checklist

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@pokey pokey added this pull request to the merge queue Jul 9, 2024
Merged via the queue into cursorless-dev:main with commit 8c246a9 Jul 9, 2024
15 checks passed
@@ -44,7 +44,7 @@
buildInputs = [ pkgs.bashInteractive ];
shellHook = ''
if [ ! -f .git/hooks/pre-commit ]; then
pre-commit install
echo "You can run 'pre-commit install' to install git commit hooks if you want them."
fi

pnpm install
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the pre-commit install has been removed, should we remove the pnpm install too? It's not exactly fast when you consider how fast a shell typically starts.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I unfortunately lack some understanding about how nix works, but I would imagine that when creating the environment, we want to do a pnpm install, but not when just activating the shell. Not sure if that makes sense / is possible

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

Successfully merging this pull request may close these issues.

3 participants