Skip to content

elmPackages.elm-coverage: drop#415911

Merged
wolfgangwalther merged 5 commits intoNixOS:haskell-updatesfrom
wolfgangwalther:elm-coverage-drop
Jun 13, 2025
Merged

elmPackages.elm-coverage: drop#415911
wolfgangwalther merged 5 commits intoNixOS:haskell-updatesfrom
wolfgangwalther:elm-coverage-drop

Conversation

@wolfgangwalther
Copy link
Copy Markdown
Contributor

@wolfgangwalther wolfgangwalther commented Jun 11, 2025

As discussed in #413234, one option is to drop elm-coverage.

I first tried to drop only elmi-to-json, but didn't succeed (#413234 (comment)).

Part of tracking issue: #346214

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Jun 11, 2025
@nix-owners nix-owners bot requested review from maralorn and sternenseemann June 11, 2025 18:25
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 11, 2025
elm-verify-examples doesn't depend on elmi-to-json anymore.
I did not commit changes to node-composition.nix, which didn't seem
intended.
@wolfgangwalther
Copy link
Copy Markdown
Contributor Author

So, to regenerate the node packages to remove elm-coverage, I had to update them first before. But since a few packages were broken, I couldn't really verify the updates... thus I fixed this brokenness first.

@wolfgangwalther
Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 415911


x86_64-linux

✅ 10 packages built:
  • elmPackages.create-elm-app
  • elmPackages.elm-doc-preview
  • elmPackages.elm-git-install
  • elmPackages.elm-graphql
  • elmPackages.elm-language-server
  • elmPackages.elm-optimize-level-2
  • elmPackages.elm-pages
  • elmPackages.elm-spa
  • elmPackages.elm-upgrade
  • elmPackages.elm-verify-examples

aarch64-linux

✅ 10 packages built:
  • elmPackages.create-elm-app
  • elmPackages.elm-doc-preview
  • elmPackages.elm-git-install
  • elmPackages.elm-graphql
  • elmPackages.elm-language-server
  • elmPackages.elm-optimize-level-2
  • elmPackages.elm-pages
  • elmPackages.elm-spa
  • elmPackages.elm-upgrade
  • elmPackages.elm-verify-examples

x86_64-darwin

✅ 10 packages built:
  • elmPackages.create-elm-app
  • elmPackages.elm-doc-preview
  • elmPackages.elm-git-install
  • elmPackages.elm-graphql
  • elmPackages.elm-language-server
  • elmPackages.elm-optimize-level-2
  • elmPackages.elm-pages
  • elmPackages.elm-spa
  • elmPackages.elm-upgrade
  • elmPackages.elm-verify-examples

aarch64-darwin

✅ 10 packages built:
  • elmPackages.create-elm-app
  • elmPackages.elm-doc-preview
  • elmPackages.elm-git-install
  • elmPackages.elm-graphql
  • elmPackages.elm-language-server
  • elmPackages.elm-optimize-level-2
  • elmPackages.elm-pages
  • elmPackages.elm-spa
  • elmPackages.elm-upgrade
  • elmPackages.elm-verify-examples

@wolfgangwalther
Copy link
Copy Markdown
Contributor Author

Looks good now, the only question remaining is: Are we OK with dropping elm-coverage?

@maralorn
Copy link
Copy Markdown
Member

Seems fine to me.

@turboMaCk
Copy link
Copy Markdown
Member

turboMaCk commented Jun 12, 2025

I think there is no way elm-coverage could be kept going forward. So if it's not really question of if we can drop it but when we can drop it.

@sternenseemann
Copy link
Copy Markdown
Member

sternenseemann commented Jun 12, 2025 via email

@turboMaCk
Copy link
Copy Markdown
Member

The only reason elm-instrument was packaged was as a dependecy of elm-coverage. It's not useful for anything else not even as a stand alone thing.

@wolfgangwalther
Copy link
Copy Markdown
Contributor Author

Yeah, I basically removed everything that was not used anymore after removing elm-coverage. But you're right, I could have written a bit more about that in the commit message.

This allows dropping elmi-to-json, which in turn allows dropping GHC
8.10.7. Along with elmi-to-json, we can remove the patchBinwrap utility,
which was only used for that purpose.

Along with elm-coverage, we can also drop elm-instrument, which was only
used as a dependency of the former, and it's reverse dependency indents.
@wolfgangwalther
Copy link
Copy Markdown
Contributor Author

Adjusted the commit message accordingly, no other changes.

@wegank wegank added the 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. label Jun 13, 2025
@wegank wegank added the 12.approvals: 2 This PR was reviewed and approved by two persons. label Jun 13, 2025
@wolfgangwalther wolfgangwalther merged commit 35c090c into NixOS:haskell-updates Jun 13, 2025
18 of 20 checks passed
@wolfgangwalther wolfgangwalther deleted the elm-coverage-drop branch June 13, 2025 07:39
@ony
Copy link
Copy Markdown
Contributor

ony commented Nov 26, 2025

Interesting. It was just removed without any stub "here was elm-coverage but no longer".

       error: undefined variable 'elm-coverage'

vs

       error: 'elmPackages.create-elm-app' has not had a release since December 2020, so it was removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants