From 4f5042c837f8379b29ec8ec06ee9047da22b821c Mon Sep 17 00:00:00 2001 From: Ian Mitchell Date: Tue, 9 Jun 2026 11:20:56 -0400 Subject: [PATCH 1/3] supercollider: re-enable QtWebEngine Qt WebEngine is a major component of the SuperCollider language, especially because it powers the user documentation system, which contains all of the helpfiles for the user's local system that may not be in the online SuperCollider documentation browser (see ). WebEngine has potential security vulnerabilities (see below)---which was why WebEngine was removed in PR #480196---however, the documentation browser in SC is not used for anything other than browsing local documentation, which minimizes the potential harms from WebEngine. Potential security problems with Qt6 WebEngine can be found at the following: * https://doc.qt.io/qt-6//qtwebengine-security.html * (for FreeBSD) https://www.vuxml.org/freebsd/pkg-qt6-webengine.html Security-conscious users may wish to not use QtWebEngine, and so there is an included option to disable it with the `useQtWebEngine` option. --- pkgs/development/interpreters/supercollider/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix index 078b6782a3d0..6b73cdf7f5f3 100644 --- a/pkgs/development/interpreters/supercollider/default.nix +++ b/pkgs/development/interpreters/supercollider/default.nix @@ -16,6 +16,7 @@ libxt, readline, useSCEL ? false, + useQtWebEngine ? true, emacs, gitUpdater, supercollider-with-plugins, @@ -65,6 +66,7 @@ stdenv.mkDerivation rec { qt6.qtbase qt6.qtwebsockets qt6.qtwayland + qt6.qtwebengine readline ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib; @@ -74,7 +76,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DSC_WII=OFF" "-DSC_EL=${if useSCEL then "ON" else "OFF"}" - (lib.cmakeBool "SC_USE_QTWEBENGINE" false) + (lib.cmakeBool "SC_USE_QTWEBENGINE" useQtWebEngine) ]; passthru = { From cfa8792facbc716f48aaac385a242a4fa878236f Mon Sep 17 00:00:00 2001 From: Ian Mitchell Date: Sat, 13 Jun 2026 00:34:21 -0400 Subject: [PATCH 2/3] supercolliderPlugins: fix FFTW3F-INCLUDE-DIR build error sc3-plugins requires the `fftw3F` (or `fftw3Float`) package, due to its UGens utilizing the library. Without including `fftw3Float` in the `buildInput` variable, sc3-plugins will not compile. --- .../interpreters/supercollider/plugins/sc3-plugins.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix b/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix index a3203e87bc06..f13f8feb1c17 100644 --- a/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix +++ b/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix @@ -6,6 +6,7 @@ cmake, supercollider, fftw, + fftwFloat, gitUpdater, }: @@ -25,6 +26,7 @@ stdenv.mkDerivation rec { buildInputs = [ supercollider fftw + fftwFloat # builds without this will return an error message about no FFTW3F-INCLUDE-DIR ]; cmakeFlags = [ From 9e0033270b0905f4905a6a24699008e2756332f7 Mon Sep 17 00:00:00 2001 From: Ian Mitchell Date: Tue, 16 Jun 2026 14:29:33 -0400 Subject: [PATCH 3/3] sc3-plugins: add pretentiousUsername as maintainer --- .../interpreters/supercollider/plugins/sc3-plugins.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix b/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix index f13f8feb1c17..6377ada48dca 100644 --- a/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix +++ b/pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix @@ -48,7 +48,9 @@ stdenv.mkDerivation rec { meta = { description = "Community plugins for SuperCollider"; homepage = "https://supercollider.github.io/sc3-plugins/"; - maintainers = [ ]; + maintainers = with lib.maintainers; [ + pretentiousUsername + ]; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; };