Merge pull request #272449 from gaykitty/sc-im-xls
sc-im: make libxls optional
This commit is contained in:
commit
20a0bf9f42
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