stack2nix v0.2 Release Notes

Release Date: 2018-07-24 // over 4 years ago
  • Major changes:

    • 🏗 Use full stackage snapshot instead of relying on the build plan #83
    • Get rid of hnix and rely on Derivation type from cabal2nix
    • 👉 Use nix to provision executables if missing #83
    • 👉 Use GHC version that belongs to the LTS #84
    • ghc-options in stack.yaml are now passed to generated Nix exprs #96
    • 👌 Support --bench #97

    Other enhancements:

    • 👌 Support --platform to set targeting system generation #79
    • 📜 Use cabal2nix and stack as haskell libraries instead of relying on executable parsing #75
    • ➕ Add --verbose flag #78
    • 📌 Be able to pin down hackage snapshot #75
    • ⚡️ Optimize cabal2nix calls by reusing HackageDB #75
    • ✅ Rewrite tests in hspec to reduce dependencies #83
    • 🔧 Make stack.yaml filename configurable #90
    • ➕ Add option to disable indentation #89
    • When cloning git, also checkout submodules #108

    🐛 Bug fixes:

    • 📦 Be able to override GHC core packages #51
    • Cleanup concurrency #33
    • ➕ Add --haddock #38
    • ➕ Add --test #35
    • 👌 Support Stack subdirs #10
    • 📜 Correct version parsing #67
    • Silence git stdout output not to leak into Nix #91