diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix index b1534f8c25aa..28cfcbcaa568 100644 --- a/pkgs/development/interpreters/supercollider/default.nix +++ b/pkgs/development/interpreters/supercollider/default.nix @@ -12,13 +12,9 @@ fftw, curl, gcc, - libsForQt5, + qt6, libxt, - qtbase, - qttools, readline, - qtwebsockets, - qtwayland, useSCEL ? false, emacs, gitUpdater, @@ -30,16 +26,16 @@ stdenv.mkDerivation rec { pname = "supercollider"; - version = "3.13.1"; + version = "3.14.1"; src = fetchurl { url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2"; - sha256 = "sha256-aXnAFdqs/bVZMovoDV1P4mv2PtdFD2QuXHjnsnEyMSs="; + sha256 = "sha256:ee640c68777ae697682066ce5c4a8b7e56c5b223e76c79c13b5be5387ee55bb2"; }; patches = [ # add support for SC_DATA_DIR and SC_PLUGIN_DIR env vars to override compile-time values - ./supercollider-3.12.0-env-dirs.patch + # ./supercollider-3.12.0-env-dirs.patch # Fixes the build with CMake 4 (fetchpatch { @@ -54,17 +50,17 @@ stdenv.mkDerivation rec { }) ]; - postPatch = '' - substituteInPlace common/sc_popen.cpp --replace '/bin/sh' '${runtimeShell}' - ''; + # postPatch = '' + # substituteInPlace common/sc_popen.cpp --replace '/bin/sh' '${runtimeShell}' + # ''; strictDeps = true; nativeBuildInputs = [ cmake pkg-config - qttools - libsForQt5.wrapQtAppsHook + qt6.qttools + qt6.wrapQtAppsHook ] ++ lib.optionals useSCEL [ emacs ]; @@ -75,9 +71,9 @@ stdenv.mkDerivation rec { fftw curl libxt - qtbase - qtwebsockets - qtwayland + qt6.qtbase + qt6.qtwebsockets + qt6.qtwayland readline ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib;