diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-06-19 20:27:36 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-07-07 16:07:47 +0200 |
commit | 7f4d52e27ec9ea9d06c3f992bfee96a9d7ae58d5 (patch) | |
tree | e459dd607ccda5e91e9066a661fbc1cea685e234 | |
parent | a2ac3683ce9eb271a865f59a670e03d5ac236df9 (diff) |
Build libjack2 for supercollider with same GCC
Also remove trailing whitespace
-rw-r--r-- | pkgs/development/interpreters/supercollider/default.nix | 14 | ||||
-rw-r--r-- | pkgs/misc/jackaudio/default.nix | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix index f44347c61b74..be85cd248154 100644 --- a/pkgs/development/interpreters/supercollider/default.nix +++ b/pkgs/development/interpreters/supercollider/default.nix @@ -3,10 +3,12 @@ , libXt, qt, readline , useSCEL ? false, emacs }: - -let optional = stdenv.lib.optional; in -stdenv.mkDerivation rec { +let optional = stdenv.lib.optional; +ljack2 = libjack2.override { gcc = gcc; }; +in + +stdenv.mkDerivation rec { name = "supercollider-3.6.6"; meta = { @@ -29,12 +31,12 @@ stdenv.mkDerivation rec { cmakeFlags = '' -DSC_WII=OFF - -DSC_EL=${if useSCEL then "ON" else "OFF"} + -DSC_EL=${if useSCEL then "ON" else "OFF"} ''; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ - gcc libjack2 libsndfile fftw curl libXt qt readline ] + buildInputs = [ + gcc ljack2 libsndfile fftw curl libXt qt readline ] ++ optional useSCEL emacs; } diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index b5748c0f8328..66be12fbc43f 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, pkgconfig, python, makeWrapper -, bash, libsamplerate, libsndfile, readline +, bash, libsamplerate, libsndfile, readline, gcc # Optional Dependencies , dbus ? null, pythonDBus ? null, libffado ? null, alsaLib ? null @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig python makeWrapper ]; - buildInputs = [ + buildInputs = [ gcc python libsamplerate libsndfile readline |