nixpkgs/pkgs/applications/office/libreoffice
Doron Behar 7932ddf604 libreoffice: always use stdenv.mkDerivation
`mkDerivation` from `libsForQt5` is deprecated. Hooks are preferred, see
https://github.com/NixOS/nixpkgs/issues/180841 .
2023-09-29 16:08:41 +03:00
..
darwin treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases 2023-08-11 09:20:44 +00:00
src-fresh libreoffice: get rid of src-$VARIANT/override.nix 2023-09-29 16:08:41 +03:00
src-still libreoffice: get rid of src-$VARIANT/override.nix 2023-09-29 16:08:41 +03:00
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: always use stdenv.mkDerivation 2023-09-29 16:08:41 +03:00
download-list-builder.sh treewide: source .attrs in builders 2022-12-08 21:09:02 +02:00
gen-shell.nix
generate-libreoffice-srcs.py libreoffice: generate-*-srcs.py Remove export prefix 2023-04-02 18:15:52 +03:00
gpgme-1.18.patch fixup! libreoffice*: hack-fix build after gpgme update 2022-08-18 17:42:24 +02:00
libreoffice-srcs-additions.json
poppler-22-04-0.patch libreoffice-fresh: Fix build with poppler 22.04 2022-05-04 14:42:39 +02:00
README.md libreoffice: improve nixpkgs' README update instructions 2023-09-29 16:08:41 +03:00
skip-failed-test-with-icu70.patch
soffice-template.desktop libreoffice: add templates to dolphin "create new" menu 2022-05-03 08:11:26 -04:00
wrapper.nix libreoffice/wrapper: Don't --chdir 2023-03-26 16:25:46 +03:00

LibreOffice

Here are instructions how to update libreoffice. In the below commands and instructions, $VARIANT is either still or fresh.

  1. Update the necessary version parts in src-$VARIANT/primary.nix.
  2. Run the following command:
nix-shell gen-shell.nix --argstr variant VARIANT --run generate
  1. It will fail initially, due to hash mismatch in the main src attribute. Fix the hash according to the failure.
  2. Run the command from step 2 again, now it will take a while.
  3. Zero-out the hashes of the translations and help attributes in src-$VARIANT/primary.nix.
  4. Update the hashes above by building libreoffice-$VARIANT.