From 0b084cd7afc8fa706026339cb0d0a982377a6397 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 5 May 2022 19:43:05 +0300 Subject: [PATCH] monkeysAudio: Fix compilation using an older version of gcc Fixes this issue: > /nix/store/...-gcc-11.2.0/include/c++/11.2.0/cmath:1930:1: error: expected declaration before '}' token > 1930 | } // extern "C++" > | ^ --- pkgs/applications/audio/monkeys-audio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/monkeys-audio/default.nix b/pkgs/applications/audio/monkeys-audio/default.nix index 62b63f7e1cab..805513b6a056 100644 --- a/pkgs/applications/audio/monkeys-audio/default.nix +++ b/pkgs/applications/audio/monkeys-audio/default.nix @@ -1,6 +1,6 @@ -{lib, stdenv, fetchurl}: +{lib, gcc10Stdenv, fetchurl}: -stdenv.mkDerivation rec { +gcc10Stdenv.mkDerivation rec { version = "3.99-u4-b5"; pname = "monkeys-audio";