about summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/README.md
blob: ffad72092805ca6907d6cc25b6697a6e9512318e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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:

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

3. It will fail initially, due to hash mismatch in the main `src` attribute.
   Fix the hash according to the failure.
4. Run the command from step 2 again, now it will take a while.
5. Zero-out the hashes of the translations and help attributes in
   `src-$VARIANT/primary.nix`.
6. Update the hashes above by building `libreoffice-$VARIANT`.