Commit 2dcfa16
committed
Fix
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.index-sha256 bit rot1 parent cd9ddc0 commit 2dcfa16
File tree
2 files changed
+3
-3
lines changed- lib
- mk-local-hackage-repo
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
| 681 | + | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments