about summary refs log tree commit diff
path: root/pkgs/applications/audio/sfxr-qt
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-01-28 21:44:02 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2022-02-27 10:27:01 +0100
commit11597d116244611940d3366db7c85f7181a32ae3 (patch)
tree2b8bef573c7d72893e9e34322ef817582c366368 /pkgs/applications/audio/sfxr-qt
parent25172c97d03c3035869c8a1a753232b0b5017cd1 (diff)
sfxr-qt: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163999266
Diffstat (limited to 'pkgs/applications/audio/sfxr-qt')
-rw-r--r--pkgs/applications/audio/sfxr-qt/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/audio/sfxr-qt/default.nix b/pkgs/applications/audio/sfxr-qt/default.nix
index bf8b826f544f9..ef83531e43658 100644
--- a/pkgs/applications/audio/sfxr-qt/default.nix
+++ b/pkgs/applications/audio/sfxr-qt/default.nix
@@ -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";