add a smoke-test to CI for the nix 'default' output

I talked to somebody yesterday in #conduwuit:puppygock.gay that was using
this output in their system config. The dynamically-linked jemalloc build
is quite fragile, and is not tested by anything else in CI. We want to
make sure we don't break it again in the future.
This commit is contained in:
Benjamin Lee 2024-05-24 17:07:14 -07:00 committed by June 🍓🦴
parent 207979579c
commit a08f90b161

View file

@ -145,3 +145,15 @@ cargo test \
-- \
--color=always
"""
# Ensure that the flake's default output can build and run without crashing
#
# This is a dynamically-linked jemalloc build, which is a case not covered by
# our other tests. We've had linking problems in the past with dynamic
# jemalloc builds that usually show up as an immediate segfault or "invalid free"
[[task]]
name = "nix-default"
group = "tests"
script = """
nix run .#default -- --help
"""