diff options
author | Martin Milata <martin@martinmilata.cz> | 2019-11-21 03:03:50 +0100 |
---|---|---|
committer | Martin Milata <martin@martinmilata.cz> | 2019-11-21 03:13:48 +0100 |
commit | 879c47c82a26304bd7f4e9cbe87a6df0ddd0a910 (patch) | |
tree | 7b5a5d9e45f3968d246029859e5627504d0707a7 /pkgs/applications/office | |
parent | b94b8ca3878df09f79d42f197bd7c9bf2740bae7 (diff) | |
download | nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar.gz nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar.bz2 nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar.lz nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar.xz nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.tar.zst nixpkgs-879c47c82a26304bd7f4e9cbe87a6df0ddd0a910.zip |
libreoffice: add dev output with headers
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/libreoffice/default.nix | 5 | ||||
-rw-r--r-- | pkgs/applications/office/libreoffice/still.nix | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix index 2f220fa2fb6..51ef4eb9d24 100644 --- a/pkgs/applications/office/libreoffice/default.nix +++ b/pkgs/applications/office/libreoffice/default.nix @@ -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 = [ diff --git a/pkgs/applications/office/libreoffice/still.nix b/pkgs/applications/office/libreoffice/still.nix index be87a8bb672..fc984d39e27 100644 --- a/pkgs/applications/office/libreoffice/still.nix +++ b/pkgs/applications/office/libreoffice/still.nix @@ -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 = [ |