From 37847c5a11ce694d2cd45fbc5c252e96b86cbe55 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 1 Nov 2024 22:52:47 +0100 Subject: [PATCH] supercollider: fix build with emacs support Signed-off-by: Sefa Eyeoglu --- pkgs/development/interpreters/supercollider/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix index 344d007031640..eeca83414a6cf 100644 --- a/pkgs/development/interpreters/supercollider/default.nix +++ b/pkgs/development/interpreters/supercollider/default.nix @@ -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" ];