about summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice/README.md
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2019-12-18 02:11:51 +0100
committerMartin Milata <martin@martinmilata.cz>2019-12-18 13:23:34 +0100
commit737ce5c8480139e89d1e8087f4534297c5856d89 (patch)
treebe8327b261094aff1f953108b1ad8e08805d9108 /pkgs/applications/office/libreoffice/README.md
parentdae6544457901efcc458801b771da768e92cc8a4 (diff)
downloadnixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar.gz
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar.bz2
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar.lz
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar.xz
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.tar.zst
nixlib-737ce5c8480139e89d1e8087f4534297c5856d89.zip
libreoffice: factor out common derivation
Each "variant" of libreoffice gets its own subdirectory src-$variant
where files w/ source references are stored. In the directory is also
override.nix which allows you to override derivation attributes in
addition to source files.
Diffstat (limited to 'pkgs/applications/office/libreoffice/README.md')
-rw-r--r--pkgs/applications/office/libreoffice/README.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/office/libreoffice/README.md b/pkgs/applications/office/libreoffice/README.md
index eb21fe2f441e..a084572d2177 100644
--- a/pkgs/applications/office/libreoffice/README.md
+++ b/pkgs/applications/office/libreoffice/README.md
@@ -1,10 +1,9 @@
 LibreOffice
 ===========
 
-To generate `libreoffice-srcs.nix`:
+To generate `src-$VARIANT/download.nix`, i.e. list of additional sources that
+the libreoffice build process needs to download:
 
-    nix-shell default-gen-shell.nix --run generate
+    nix-shell gen-shell.nix --argstr variant VARIANT --run generate
 
-To generate `libreoffice-srcs-still.nix`:
-
-    nix-shell still-gen-shell.nix --run generate
+Where VARIANT is either `still` or `fresh`.