Closed
Description
The stack-to-nix
template (default.nix
) which was added in #20 could be improved.
-
haskell.nix
should be pinned to a git rev with sha256 hash. It could use the exact samehaskell.nix
pin that nix-tools was built with. -
nixpkgs
should be also be pinned -- otherwise the build may not work. - The file should be generated with
hnix
, rather than hardcoded strings. - It would be good to have some comments in this file (although that may conflict with point 3 -- maybe just prepend comments to the top of the file).