summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-09-28 11:01:27 +0300
committerDoron Behar <doron.behar@gmail.com>2023-09-29 16:08:41 +0300
commit2f05389728698922d0bcc2d9c11163b36a2e4e19 (patch)
tree9db2cb8804c6082a6b9fd6ab97f55b074f3772f7 /pkgs/applications/office
parentd17e81101c8de974938c257632def37086b93074 (diff)
downloadnixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar.gz
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar.bz2
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar.lz
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar.xz
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.tar.zst
nixpkgs-2f05389728698922d0bcc2d9c11163b36a2e4e19.zip
libreoffice: improve nixpkgs' README update instructions
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/libreoffice/README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/pkgs/applications/office/libreoffice/README.md b/pkgs/applications/office/libreoffice/README.md
index a084572d217..ffad7209280 100644
--- a/pkgs/applications/office/libreoffice/README.md
+++ b/pkgs/applications/office/libreoffice/README.md
@@ -1,9 +1,19 @@
 LibreOffice
 ===========
 
-To generate `src-$VARIANT/download.nix`, i.e. list of additional sources that
-the libreoffice build process needs to download:
+Here are instructions how to update libreoffice. In the below commands and
+instructions, $VARIANT is either `still` or `fresh`.
 
-    nix-shell gen-shell.nix --argstr variant VARIANT --run generate
+1. Update the necessary version parts in `src-$VARIANT/primary.nix`.
+2. Run the following command:
 
-Where VARIANT is either `still` or `fresh`.
+```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`.