sandwich-contexts

Contexts for the Sandwich test library

Version on this page:0.3.0.3@rev:1
LTS Haskell 24.46:0.3.0.3@rev:1
Stackage Nightly 2026-06-22: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.3@sha256:8a02fe2600f5c45983041f0ac065d7d306fd884f67e36746ef1d8e801d2db6d1,3036

Please see the documentation.

Changes

Changelog for sandwich-contexts

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.