Merge pull request #272449 from gaykitty/sc-im-xls

sc-im: make libxls optional
This commit is contained in:
Robert Schütz 2023-12-27 10:20:27 -08:00 committed by GitHub
commit 20a0bf9f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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