Skip to content

Conversation

hamishmack
Copy link
Collaborator

If an new package is deployed to hackage.haskell.org, to use it before it is captured by the hackage.nix update add the following to the project arguments:

  index-state="2025-06-16T00:00:00Z";  # Use current time here
  # This hash in not valid, the error message will give the correct hash
  index-sha256="sha256-NS28jJYko/tNUKVhncntu/mV8tsQmTA52T000000000=";

This change PR fixes some "bit rot" issues:

  • A warning about --index-state argument being out of range is now an error.
  • The sha256 might now be in base16 or base32.

If an new package is deployed to `hackage.haskell.org`, to use it before it is captured by the `hackage.nix` update add the following to the project arguments:

```nix
  index-state="2025-06-16T00:00:00Z";  # Use current time here
  # This hash in not valid, the error message will give the correct hash
  index-sha256="sha256-NS28jJYko/tNUKVhncntu/mV8tsQmTA52T000000000=";
```

This change PR fixes some "bit rot" issues:
 * A warning about `--index-state` argument being out of range is now an error.
 * The sha256 might now be in base16 or base32.
@hamishmack hamishmack merged commit efad04e into master Jun 19, 2025
28 of 30 checks passed
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.

1 participant