Skip to content

stack-to-nix: Better default.nix template #100

Closed
@rvl

Description

@rvl

The stack-to-nix template (default.nix) which was added in #20 could be improved.

  1. haskell.nix should be pinned to a git rev with sha256 hash. It could use the exact same haskell.nix pin that nix-tools was built with.
  2. nixpkgs should be also be pinned -- otherwise the build may not work.
  3. The file should be generated with hnix, rather than hardcoded strings.
  4. 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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions