[Backport release-26.05] jasterix: fix tests (#530604)

This commit is contained in:
nixpkgs-ci[bot] 2026-06-11 07:29:52 +00:00 committed by GitHub
commit 77c2ae302d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,9 @@
{
applyPatches,
boost,
catch2_3,
cmake,
fetchFromGitHub,
fetchpatch,
lib,
libarchive,
libpcap,
@ -24,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-df5tByZwtQLdV0UlSo1WkgyoF3hReU/mN74V2WL6zoI=";
};
patches = [
(fetchpatch {
name = "jasterix-fix-tests.patch";
url = "https://github.com/OpenATSGmbH/jASTERIX/commit/b79e59c042ebb7eee31f50a7ed48840bcec50429.patch";
hash = "sha256-V0/nMJGb8ZB/Z6bKvyZnic57HXAsUAHXgyVq+D4yFDw=";
})
];
# Disable boost-stacktrace_backtrace, which is an optional dependency and not yet available in Nix.
postPatch = ''
sed -i 's/\(find_package .*\) stacktrace_backtrace/\1/' CMakeLists.txt
@ -54,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
openssl.dev
];
doCheck = false; # The tests require ASTERIX files that are not publicly provided
doCheck = true;
strictDeps = true;
__structuredAttrs = true;