hnix v0.11.1 Release Notes
Release Date: 2020-12-09 // over 4 years ago-
(diff) 0.11.1 (2020-12-09)
- ➕ Additional:
- (link)
Nix/Builtins
:isString
fixed - It used to returnTrue
for values coercible to string like derivations and paths. It only accepts string values now. - (link)
Nix/Builtins
:substring
fixed - Negative lengths used to capture an empty string. Now they capture the whole rmeainder of the string. - (link)
Nix/Effects
:pathExists
fixed - Now also works with directories. - (link)
Nix/Parser
:->
is now properly right-associative (was non-associative). - (link)
Nix/Parser
: Nixassert
parser (nixAssert
function) now accepts top-level Nix format also (which means also accepts all kinds of statements), before that it accepted only regular Nix expressions. - (link)
Nix/Render
:renderLocation
now also shows/handles location of errors in raw strings.
- (link)
- ➕ Additional:
Previous changes from v0.11.0
-
(diff) 0.11.0 (2020-11-02)
💥 Breaking:
- (link) Deleted incorrect
instance Generic1 NKeyName
frommodule Nix.Expr.Types
.
- (link) Parentheses now are properly included in the location annotation for Nix expressions, change of
nixParens
inmodule Nix.Parser
essentially results in the change of all modulenix*
function results, essentially making results of the whole module more proper.➕ Additional:
- (link) Fix QQ Text lifting error: work around of GHC#12596 "can't find interface-file declaration".
- (link) Fix comments inclusion into location annotations, by using pre-whitespace position for source end locations.
(diff) 0.10.1 (2020-09-13)
- ➕ Additional:
- (link)
{Binding, NExpr, NExprF, NKeyName}
gainedOrd1
instances. - These instances were required by downstream projects to be able to use newer HNix.
- (link) CLI gained
--long-version
option for gathering a detailed debug information. - Currently, reports Git commit and its date.
- (link) Currently does not work in case of use of the
nix-build
, in which case simply returnsUNKNOWN
placeholder.
- (link)
- (link) Deleted incorrect