mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
.. | ||
darwin | ||
src-fresh | ||
src-still | ||
0001-Strip-away-BUILDCONFIG.patch | ||
default.nix | ||
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
Here are instructions how to update libreoffice. In the below commands and
instructions, $VARIANT is either still
or fresh
.
- Update the necessary version parts in
src-$VARIANT/primary.nix
. - Run the following command:
nix-shell gen-shell.nix --argstr variant VARIANT --run generate
- It will fail initially, due to hash mismatch in the main
src
attribute. Fix the hash according to the failure. - Run the command from step 2 again, now it will take a while.
- Zero-out the hashes of the translations and help attributes in
src-$VARIANT/primary.nix
. - Update the hashes above by building
libreoffice-$VARIANT
.