libreoffice: fix eval

wip/yesman
Jan Tojnar 4 years ago
parent 8d8324b958
commit 2093fa784a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 2
      pkgs/applications/office/libreoffice/default.nix
  2. 5
      pkgs/applications/office/libreoffice/src-fresh/override.nix
  3. 1
      pkgs/applications/office/libreoffice/src-still/override.nix

@ -57,7 +57,7 @@ in (stdenv.mkDerivation rec {
# For some reason librdf_redland sometimes refers to rasqal.h instead
# 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 = [
./xdg-open-brief.patch

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

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

Loading…
Cancel
Save