Skip to content

0.14.0

Compare
Choose a tag to compare
@Anton-Latukha Anton-Latukha released this 08 Jul 09:05
· 765 commits to master since this release
cc7a472
  • GHC 9.0 support.

  • HNix switched to pre-0.9 style of log (aka "no log"). We temporarily stopped producing log, choosing effectiveness over writing about it.

  • All changes seem trivial (from the inside). There is no changes in Nix.Expr.Shorthands module. Would there be difficulties in migration - please write to us - we would tackle & solve it togather.

A partial log:

  • Breaking:

    • Nix.Effects:

      • rm pathExits in favour of doesPathExist (in Nix.Render: class MonadFile: doesPathExist)
    • Nix.Var: was found being superflous (report), so reduced. use Control.Monad.Ref instead.

    • Nix.Normal

      • rename opaque(,->Val), indicate that it is a literal.
    • Nix.Thunk:

      • class MonadThunkId m => MonadThunk{,F} t m a:
        • rename query(M->){,F}
  • Additional:

    • Nix.Utils:

      • added type TransformF
    • Nix.Eval:

      • added fun:
        • evalContent
        • addMetaInfo
    • Nix.Types.Assumption:

      • added instances:
        • Assumption: {Semigroup,Monoid,One}
    • Nix.Type.Env:

      • added instances:
        • Env: {Semigroup,Monoid,One}
    • Nix:

      • changed argument order:
        • nixEval:

          -- was:
            => Maybe FilePath -> Transform g (m a) -> Alg g (m a) -> Fix g -> m a
          -- became:
            => Transform g (m a) -> Alg g (m a) -> Maybe FilePath -> Fix g -> m a
    • Nix.Normal

      • add thunkVal literal & use it where appropriate {deThunk, removeEffects}
    • Nix.Thunk.Basic:

      • export deferred