libreoffice: fix eval

This commit is contained in:
Jan Tojnar 2019-12-30 20:51:31 +01:00
parent 8d8324b958
commit 2093fa784a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
3 changed files with 5 additions and 3 deletions

View File

@ -57,7 +57,7 @@ in (stdenv.mkDerivation rec {
# For some reason librdf_redland sometimes refers to rasqal.h instead # For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h # of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = builtins.toString ([ "-I${librdf_rasqal}/include/rasqal" ] ++ lib.optional stdenv.isx86_64 "-mno-fma"); NIX_CFLAGS_COMPILE = "-I${librdf_rasqal}/include/rasqal";
patches = [ patches = [
./xdg-open-brief.patch ./xdg-open-brief.patch

View File

@ -1 +1,4 @@
args: f: {} { stdenv, ... }:
attrs: {
NIX_CFLAGS_COMPILE = attrs.NIX_CFLAGS_COMPILE + stdenv.lib.optionalString stdenv.isx86_64 " -mno-fma";
}

View File

@ -1,7 +1,6 @@
{ stdenv, ... }: { stdenv, ... }:
attrs: attrs:
{ {
NIX_CFLAGS_COMPILE = stdenv.lib.lists.remove "-mno-fma" attrs.NIX_CFLAGS_COMPILE;
configureFlags = stdenv.lib.lists.remove "--without-export-validation" attrs.configureFlags; configureFlags = stdenv.lib.lists.remove "--without-export-validation" attrs.configureFlags;
meta = attrs.meta // { description = "Comprehensive, professional-quality productivity suite (Still/Stable release)"; }; meta = attrs.meta // { description = "Comprehensive, professional-quality productivity suite (Still/Stable release)"; };
} }