Skip to content

hackage2nix: Remove obsolete maintenance scripts and update README.md#519

Merged
maralorn merged 1 commit intoNixOS:masterfrom
maralorn:remove-scripts
Sep 23, 2021
Merged

hackage2nix: Remove obsolete maintenance scripts and update README.md#519
maralorn merged 1 commit intoNixOS:masterfrom
maralorn:remove-scripts

Conversation

@maralorn
Copy link
Copy Markdown
Member

All those scripts (or rather further developed versions of them) now live under maintainers/scripts/haskell in nixpkgs.

Copy link
Copy Markdown
Member

@sternenseemann sternenseemann 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! I've thought to do this many times, but always ended up putting it off…


_Replace `git@github.com:NixOS/nixpkgs.git` with a fork you have push access
to._
During development you can just run `cabal build`. To get a nix-shell for development run:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd just recommend the dev setup we have in ../README.md?

There is a [video on YouTube](https://www.youtube.com/watch?v=qX0mgtSm360)
that gives a thorough walk-through of these steps.
It gets used by the
`maintainers/scripts/haskell/regenerate-hackage-packages.sh` in nixpkgs. There
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
`maintainers/scripts/haskell/regenerate-hackage-packages.sh` in nixpkgs. There
[`maintainers/scripts/haskell/regenerate-hackage-packages.sh`](https://github.com/NixOS/nixpkgs/blob/haskell-updates/maintainers/scripts/haskell/regenerate-hackage-packages.sh) script in nixpkgs. There

@maralorn maralorn merged commit 76b874f into NixOS:master Sep 23, 2021
@maralorn maralorn deleted the remove-scripts branch September 23, 2021 21:18
sternenseemann added a commit that referenced this pull request Jul 27, 2022
* Many Haskell-related files are no longer rooted to the repository root

* hackage2nix ignores are no longer relevant after #519.
sternenseemann added a commit that referenced this pull request Oct 9, 2022
* Many Haskell-related files are no longer rooted to the repository root

* hackage2nix ignores are no longer relevant after #519.
sternenseemann added a commit that referenced this pull request Oct 9, 2022
* Many Haskell-related files are no longer rooted to the repository root

* hackage2nix ignores are no longer relevant after #519.
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