Constructors of StorePathName and StorePathHashPart are no longer
exported. Use respective mkStorePath.. functions. #230
StorePath constructor is no longer exported.
Prefer parsePath or parsePathFromText.
If needed to construct a path directly, use unsafeMakeStorePath#247
StorePathSet type alias is no more, use HashSet StorePath#230
makeStorePath and parsePath now returns Either InvalidPathError StorePath#231
BuildResults timesBuild field changes type from Integer to Int#231
Additions:
System.Nix.Store.Types with FileIngestionMethod, PathFilter, RepairMode types #247FileIngestionMethod was previously called NarHashMode
StorePath no longer carries storePathRoot field and we
have a stand-alone StoreDir type instead to be used instead of FilePath
when store root directory is needed as a context #216
Fixes:
NAR encoding and decoding now supports case-insensitive filesystems #218
The “case hack” replicates the behavior of the use-case-hack option in Nix, which adds a suffix to conflicting filenames.
This feature is enabled by default on macOS (darwin).
Additions:
* data NarOptions has been added to configure NAR encoding and decoding. The optUseCaseHack field can be used to enable or disable the case hack #218
* New streamNarIOWithOptions and runParserWithOptions functions have been added to System.Nix.Nar to support the new configurable options #218
Nix store (which are specially truncated) hashes are now handled separately from other hashes:
add mkStorePathHash - a function to create a content into Nix storepath-style hash:
mkStorePathHash :: HashAlgorithm a => ByteString -> ByteString
but recommend to at once use mkStorePathHashPart.
System.Nix.Hash no longer exports encodeBase16, decodeBase16 and their Base32 counterparts.
These were replaced by encodeInBase and decodeBase functions
accepting BaseEncoding data type #87