supercollider: fix build with emacs support

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-11-01 22:52:47 +01:00
parent ede6eeb315
commit 37847c5a11
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -26,11 +26,11 @@ mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [ cmake pkg-config qttools ];
nativeBuildInputs = [ cmake pkg-config qttools ]
++ lib.optionals useSCEL [ emacs ];
buildInputs = [ gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ]
++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib
++ lib.optional useSCEL emacs;
++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib;
hardeningDisable = [ "stackprotector" ];