sfizz: fix build w/glibc-2.34, actually enable tests

Failing Hydra build: https://hydra.nixos.org/build/163931927

+6 -1
+6 -1
pkgs/applications/audio/sfizz/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, libjack2, libsndfile, xorg, freetype 2 2 , libxkbcommon, cairo, glib, gnome, flac, libogg, libvorbis, libopus, cmake 3 - , pango, pkg-config }: 3 + , pango, pkg-config, catch2 4 + }: 4 5 5 6 stdenv.mkDerivation rec { 6 7 pname = "sfizz"; ··· 40 41 nativeBuildInputs = [ cmake pkg-config ]; 41 42 42 43 postPatch = '' 44 + cp ${catch2}/include/catch2/catch.hpp tests/catch2/catch.hpp 45 + 43 46 substituteInPlace plugins/editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \ 44 47 --replace 'zenitypath = "zenity"' 'zenitypath = "${gnome.zenity}/bin/zenity"' 45 48 substituteInPlace plugins/editor/src/editor/NativeHelpers.cpp \ ··· 47 50 ''; 48 51 49 52 cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ]; 53 + 54 + doCheck = true; 50 55 51 56 meta = with lib; { 52 57 homepage = "https://github.com/sfztools/sfizz";