about summary refs log tree commit diff
path: root/pkgs/applications/audio/odin2
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-02-05 18:34:47 +0100
committerVladimír Čunát <v@cunat.cz>2023-02-05 18:34:47 +0100
commitcfc056287cb29a7bc434f0a2334b149f6a057094 (patch)
treeca179e1e48318685d498356f9cc7642878184684 /pkgs/applications/audio/odin2
parent52bef350535ed22e1fbf9e7ef20c437d223ee92b (diff)
treewide: another round of gcc12 fixups
Diffstat (limited to 'pkgs/applications/audio/odin2')
-rw-r--r--pkgs/applications/audio/odin2/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/odin2/default.nix b/pkgs/applications/audio/odin2/default.nix
index beb1264679354..de89f9aedead4 100644
--- a/pkgs/applications/audio/odin2/default.nix
+++ b/pkgs/applications/audio/odin2/default.nix
@@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-N96Nb7G6hqfh8DyMtHbttl/fRZUkS8f2KfPSqeMAhHY=";
   };
 
+  postPatch = ''
+    sed '1i#include <utility>' -i \
+      libs/JUCELV2/modules/juce_gui_basics/windows/juce_ComponentPeer.h # gcc12
+  '';
+
   nativeBuildInputs = [
     cmake
     pkg-config