diff --git a/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix b/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix index 7ffa72461ef6..ab8036ac7eaf 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { "-DUSE_SYSTEM_FLATBUFFERS_LIBS=ON" ]; - NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; + env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error" ]; preConfigure = '' rm -rf external/flatbuffers