mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
supercollider: Use qt5's own mkDerivation
This commit is contained in:
parent
732c0a0d53
commit
d3188e90a0
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, alsaLib
|
||||
{ stdenv, mkDerivation, fetchurl, cmake, pkgconfig, alsaLib
|
||||
, libjack2, libsndfile, fftw, curl, gcc
|
||||
, libXt, qtbase, qttools, qtwebengine
|
||||
, readline, qtwebsockets, useSCEL ? false, emacs
|
||||
@ -7,7 +7,7 @@
|
||||
let optional = stdenv.lib.optional;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
pname = "supercollider";
|
||||
version = "3.10.2";
|
||||
|
||||
@ -19,10 +19,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
cmakeFlags = ''
|
||||
-DSC_WII=OFF
|
||||
-DSC_EL=${if useSCEL then "ON" else "OFF"}
|
||||
'';
|
||||
cmakeFlags = [
|
||||
"-DSC_WII=OFF"
|
||||
"-DSC_EL=${if useSCEL then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user