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

Nix tooling (minor changes) #4490

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Nix tooling (minor changes) #4490

merged 3 commits into from
Feb 9, 2025

Conversation

dschrempf
Copy link
Contributor

Hi! This PR contains a few minor changes to the Nix Flake.

b473c73 * Nix: Update lock files (GHC 9.6.5 -> 9.6.6)
a1b5c43 * Nix Flake: Small fixes, make comments a bit more consistent
39df624 * Nix Flake: Remove hlint

I also removed hlint from the flake (last commit). However, this is an opinion up for debate:

We do not really need the hlint executable because it is integrated in HLS.

However, hlint is used by a GitHub Action, which we may want to replicate locally.

Also, the fmt.sh script is downloading an (unknown) hlint version which will
not work on NixOS anyways. In my opinion, if fmt.sh is still used (I can not
find any usages) we should fix the script so it is reproducible.

`hlint` should not be necessary. However, this is an opinion up for debate:

We do not really need the `hlint` executable because it is integrated in HLS.

However, `hlint` is used by a GitHub Action, which we may want to replicate locally.

Also, the `fmt.sh` script is downloading an (unknown) `hlint` version which will
not work on NixOS anyways. In my opinion, if `fmt.sh` is still used (I can not
find any usages) we should fix the script so it is reproducible.
Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for updating the nix setup!

@fendor
Copy link
Collaborator

fendor commented Feb 9, 2025

I am surprised fmt.sh isn't used at all, seemingly... Probably time to delete it.

@fendor fendor merged commit 31b8787 into haskell:master Feb 9, 2025
22 checks passed
@dschrempf dschrempf deleted the nix-stuff branch February 10, 2025 15:26
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