nixpkgs/pkgs/applications/office/libreoffice
Maximilian Bosch 9e0bf8497f
libreoffice-qt: fix build
Broke in 408ece7d3d because the
`disallowedRequisites` fails here since the QT variant apparently needs
to reference a few dev outputs[1].

I won't look into the details of that now, so the easiest way to unbreak
is to skip the check for the QT variant. It should be kept for non-QT
though to make sure that a change similar to the BUILDCONFIG thing isn't
missed again by us.

[1] https://github.com/NixOS/nixpkgs/pull/245361#issuecomment-1651389735

    error: output '/nix/store/2y0czyy26gcsqhmcvd2mlqa35f0gcl4l-libreoffice-7.5.4.1' is not allowed to refer to the following paths:
             /nix/store/0hmvklj0mbhrn8flwbcwivvkv45limhg-freetype-2.13.0-dev
             /nix/store/0rnx7rc87hwkbrhsys7mgwq4jw6pz7ma-zlib-1.2.13-dev
             [...]
2023-07-26 12:54:36 +02:00
..
darwin libreoffice-bin: 7.4.3 -> 7.4.7 2023-07-12 10:24:29 +02:00
src-fresh
src-still
0001-Strip-away-BUILDCONFIG.patch libreoffice-fresh: strip away BUILDCONFIG, reduce runtime closure size by ~20% 2023-07-25 18:05:49 +02:00
default.nix libreoffice-qt: fix build 2023-07-26 12:54:36 +02:00
download-list-builder.sh
gen-shell.nix
generate-libreoffice-srcs.py
gpgme-1.18.patch
libreoffice-srcs-additions.json
poppler-22-04-0.patch
README.md
skip-failed-test-with-icu70.patch
soffice-template.desktop
wrapper.nix

LibreOffice

To generate src-$VARIANT/download.nix, i.e. list of additional sources that the libreoffice build process needs to download:

nix-shell gen-shell.nix --argstr variant VARIANT --run generate

Where VARIANT is either still or fresh.