sfxr-qt: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/163999266
This commit is contained in:
Maximilian Bosch 2022-01-28 21:44:02 +01:00
parent 25172c97d0
commit 11597d1162
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -7,6 +7,7 @@
, qtquickcontrols2
, SDL
, python3
, catch2
}:
mkDerivation rec {
@ -21,6 +22,10 @@ mkDerivation rec {
fetchSubmodules = true;
};
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp 3rdparty/catch2/single_include/catch2/catch.hpp
'';
nativeBuildInputs = [
cmake
extra-cmake-modules
@ -33,6 +38,8 @@ mkDerivation rec {
SDL
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/agateau/sfxr-qt";
description = "A sound effect generator, QtQuick port of sfxr";