Skip to content

Fix nix devshell #2260

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

Merged
merged 6 commits into from
Oct 15, 2024
Merged

Fix nix devshell #2260

merged 6 commits into from
Oct 15, 2024

Conversation

andreabedini
Copy link
Member

  • Fix the nix devshell by replacing nixUnstable with nixVersions.latest.
  • Ensure the devshells for different compilers are built in the same way.
  • Small code improvements (reformat, naming, reduce the use of with).

Copy link
Collaborator

@hamishmack hamishmack left a comment

Choose a reason for hiding this comment

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

I wonder if we should just get rid of nix develop at the root of haskell.nix. Is there a use case for it? I don't think I have ever used it. Do any of the GitHub actions use it?

To work on nix-tools we have cd nix-tools && nix develop.

Plus there is https://github.com/input-output-hk/devx.

@andreabedini
Copy link
Member Author

I wonder if we should just get rid of nix develop at the root of haskell.nix. Is there a use case for it? I don't think I have ever used it. Do any of the GitHub actions use it?

I would have no issue with it, @angerman thoughts?

@hamishmack
Copy link
Collaborator

We can get rid of it in another PR

@hamishmack hamishmack merged commit 8395417 into master Oct 15, 2024
30 of 31 checks passed
@andreabedini andreabedini deleted the andrea/fix-devshell branch October 15, 2024 06:02
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.

2 participants