-
Add build depend on system
tzdata
package for the Haskelltz
andtzdata
packages innix/build-support/stacklock2nix/suggestedOverlay.nix
. Fixed in #52. -
Make sure Haskell packages specified as Git repos in the
stack.yaml
file check out all submodules when fetching their source. Fixed in #53. Thanks to @isomorpheme for reporting this. -
Change handling of subdirs for
git
extra-deps.stacklock2nix
internally callscabal2nix
to generate Nix expressions for Haskell packages. In previous versions ofstacklock2nix
, the actualsubdir
for agit
extra-dep would be copied to the Nix store, and thencabal2nix
would be run on it.This has been fixed to instead call
cabalni2x
on the full Git repo, but pass the--subpath
to specify the sub package. This likely works better where sub paths contain soft links to other paths in the Git repo.It is unlikely this change will cause any problems for any current users of
stacklock2nix
.Fixed in #46 and #56. Thanks to @isomorpheme
-
Make
stacklock2nix
'sfromYAML
function more reliable.stacklock2nix
internally uses theremarshal
tool for converting from thestack.yaml
file to a JSON, in order to read it with Nix.Recent versions of
remarshal
(>= 0.17.0) changed functionality to fail at runtime more often. An new flag is needed on the command line to fall back to the old functionality.Fixed in #55. Thanks to @Mr-Andersen