1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

libreoffice: add dev output with headers

This commit is contained in:
Martin Milata 2019-11-21 03:03:50 +01:00
parent b94b8ca387
commit 879c47c82a
2 changed files with 10 additions and 0 deletions

View file

@ -65,6 +65,8 @@ in stdenv.mkDerivation rec {
inherit (primary-src) src;
outputs = [ "out" "dev" ];
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ] ++ lib.optional stdenv.isx86_64 "-mno-fma";
@ -276,6 +278,9 @@ in stdenv.mkDerivation rec {
cp -r sysui/desktop/icons "$out/share"
sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop
mkdir -p $dev
cp -r include $dev
'';
configureFlags = [

View file

@ -65,6 +65,8 @@ in stdenv.mkDerivation rec {
inherit (primary-src) src;
outputs = [ "out" "dev" ];
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ];
@ -276,6 +278,9 @@ in stdenv.mkDerivation rec {
cp -r sysui/desktop/icons "$out/share"
sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop
mkdir -p $dev
cp -r include $dev
'';
configureFlags = [