Skip to content

Commit

Permalink
Update change log
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 27, 2023
1 parent 2a4f85c commit 37be946
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions changelog.md
@@ -1,6 +1,28 @@
This file contains a summary of changes to Haskell.nix and `nix-tools`
that will impact users.

## Mar 27, 2023

Haskell.nix will no longer parse the `cabal.project` file to
determine the `index-state`. This decision was made due to
the function's inability to handle more than one `index-state`
or a qualified `index-state` as the first `index-state`
field in the file.

As a result, there will be some drawbacks:

* There will no longer be a warning in the trace output
if an index state is not found.

* Even if the `index-state:` in the `cabal.project` has not changed,
the plan will be recomputed when hackage.nix is bumped. However, this
is not expected to be a problem since plan recomputations are typically
quick.

* `project.index-state` cannot be used to obtain the found `index-state`.
However, the parse function is still available if required
(haskell-nix.haskellLib.parseIndexState).

## Jul 27, 2022
* Removed reliance on `builtins.currentSystem`. It was used it to provide
`pkgs.evalPackages` via an overlay that it used to run derivations
Expand Down

0 comments on commit 37be946

Please sign in to comment.