sandwich-contexts

Contexts for the Sandwich test library

LTS Haskell 24.44:0.3.0.3
Stackage Nightly 2026-06-07:0.3.0.4
Latest on Hackage:0.3.0.4

See all snapshots sandwich-contexts appears in

BSD-3-Clause licensed by Tom McLaughlin
Maintained by [email protected]
This version can be pinned in stack with:sandwich-contexts-0.3.0.4@sha256:bd4076815413dbc6650492f274e7e3ed55d4818eef1a655840ac4957af5984fc,3027

Please see the documentation.

Changes

Changelog for sandwich-contexts

0.3.0.4

  • Use the latest process file logging and managed asyncs from sandwich.
  • Use a more modern fake-smtp-server derivation.
  • Bump nixpkgsMaster (now has Chrome 138).
  • Fix a typo in introduceBinaryViaNixPackage.

0.3.0.3

  • Use –no-link in Nix builds to avoid unnecessary result symlinks.
  • Make withProxyToUnixSocket more robust with a timeout.
  • Add nixpkgsRelease2411, nixpkgsRelease2505, nixpkgsMaster.
  • Export findFirstFileInDirs, and make tryFindBinary search under Applications on macOS.
  • Add buildNixPackage functions + remove a bunch of Control.Monad.Catch usage.

0.3.0.2

  • Add postgresNixConfExtraLines to PostgresNixOptions, to be able to add extra lines to postgresql.conf.
  • Add ‘fakeSmtpServerHostname’ to FakeSmtpServer.
  • Add some generic options for launching containers.
  • Enable Unix socket based contexts on Windows.
  • Add withPostgresViaNix’, withPostgresUnixSocketViaNix’.
  • Add makeNixContext, makeNixContext’.

0.3.0.1

  • Automatically find sufficiently short Unix socket paths when the system temp ones are too long.

0.3.0.0

  • Initial release.