BSD-3-Clause licensed by Tom McLaughlin
Maintained by [email protected]
This version can be pinned in stack with:sandwich-contexts-0.3.1.0@sha256:47d14552a6582d80e1905ccef12e80e13c55e7dde43fcbc83ac6e3076a0bb2fd,3110

Please see the documentation.

Changes

Changelog for sandwich-contexts

0.3.1.0

  • Export renderDerivationWithPkgs from Test.Sandwich.Contexts.Nix.
  • Add Test.Sandwich.Contexts.MySQL, for MySQL/MariaDB via Nix (introduceMysqlViaNix), with an option to choose the auth plugin (e.g. caching_sha2_password).
  • The TCP-to-Unix-socket proxy now closes the connection when either side closes.
  • Postgres contexts now report 127.0.0.1 instead of localhost in postgresAddress and postgresConnString, so clients don’t try IPv6 ::1 first and fail to connect. The TCP-to-Unix-socket proxy now listens on loopback only.
  • Bump nixpkgsMaster to a commit from 10/22/2026.

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.