From 5449d04a6b56700e26fb5e4571d9594b0f52e02a Mon Sep 17 00:00:00 2001 From: Harrison Houghton Date: Thu, 30 Sep 2021 20:18:34 -0400 Subject: [PATCH] oxefmsynth: fix Well, it wasn't really broken, just emitting a zillion narrowing warnings in generated code. Apparently "-Wno-narrowing" is how the modern compilers like you to ask them to tone it down. --- pkgs/applications/audio/oxefmsynth/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/audio/oxefmsynth/default.nix b/pkgs/applications/audio/oxefmsynth/default.nix index 427029f3c863..0e3e801d18ca 100644 --- a/pkgs/applications/audio/oxefmsynth/default.nix +++ b/pkgs/applications/audio/oxefmsynth/default.nix @@ -22,7 +22,7 @@ in stdenv.mkDerivation rec { sha256 = "1rk71ls33a38wx8i22plsi7d89cqqxrfxknq5i4f9igsw1ipm4gn"; }; - NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ]; + NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ]; buildFlags = [ "VSTSDK_PATH=${vst-sdk}/VST2_SDK" ];