supercollider: fix build with emacs support (#352996)

This commit is contained in:
Weijia Wang 2024-11-02 14:47:54 +01:00 committed by GitHub
commit cf3e5d3744
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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" ];