sc-im: make libxls optional
libxls has several security issues that haven't been addresses in months. Since it is an optional dependency of sc-im, this makes it optional in Nix as well and disabling it by default.
This commit is contained in:
parent
91050ea1e5
commit
b0a6ea2442
1 changed files with 4 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
, libxml2
|
||||
, libzip
|
||||
, ncurses
|
||||
, xlsSupport ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -35,11 +36,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
gnuplot
|
||||
libxls
|
||||
libxlsxwriter
|
||||
libxml2
|
||||
libzip
|
||||
ncurses
|
||||
] ++ lib.optionals xlsSupport [
|
||||
libxls
|
||||
libxlsxwriter
|
||||
];
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
|
Loading…
Reference in a new issue