Skip to content

0.4.0

Compare
Choose a tag to compare
@srid srid released this 22 Aug 22:02
· 216 commits to master since this release
  • #162: Completely new way to override Haskell packages: removed overrides and source-overrides. Use packages to specify your source overrides; use settings to override individual packages in modular fashion (like NixOS modules). See https://zero-to-flakes.com/haskell-flake/dependency Additional changes include:
    • Add package.<name>.cabal.executables referring to the executables in a package. This is auto-detected by parsing the Cabal file.
    • Add packages.<name>.local.* to determine of a package is a local package or not.
    • Add projectFlakeName option (useful in debug logging prefix)
    • flake.haskellFlakeProjectModules: Dropped all defaults, except the output module, which now exports packages and settings. Added a defaults.projectModules.output option that allows the user to override this module, or directly access the generated module.
    • Add project.config.defaults.settings.default defining sensible defaults for local packages.
    • Add project.config.defaults.enable to turn off all default settings en masse.
    • Regressions in this PR: #169, #178
  • #175: devShell: Add options benchmark (to enable benchmark dependencies) and hoogle (whether to include Hoogle in development shell)
  • #189: Use types.str instead of types.string in option types