summary refs log tree commit diff
path: root/doc/multiple-output.xml
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-04-09 23:29:23 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-04-09 23:29:23 +0200
commit60fa61c83041ebad1d32200443f859e6f901eeaf (patch)
tree1e25d44af51926bcb46ab05e5912ca9acb20e1ec /doc/multiple-output.xml
parent33b1dbb991ac07d67128eb674846cf93c6ae825d (diff)
downloadnixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar.gz
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar.bz2
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar.lz
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar.xz
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.tar.zst
nixlib-60fa61c83041ebad1d32200443f859e6f901eeaf.zip
manual multiple-output: clarify a note
Diffstat (limited to 'doc/multiple-output.xml')
-rw-r--r--doc/multiple-output.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/multiple-output.xml b/doc/multiple-output.xml
index 00b6614775a0..1821861adf71 100644
--- a/doc/multiple-output.xml
+++ b/doc/multiple-output.xml
@@ -11,7 +11,7 @@
 <section><title>Introduction</title>
   <para>The Nix language allows a derivation to produce multiple outputs, which is similar to what is utilized by other Linux distribution packaging systems.  The outputs reside in separate nix store paths, so they can be mostly handled independently of each other, including passing to build inputs, garbage collection or binary substitution.  The exception is that building from source always produces all the outputs.</para>
   <para>The main motivation is to save disk space by reducing runtime closure sizes; consequently also sizes of substituted binaries get reduced.  Splitting can be used to have more granular runtime dependencies, for example the typical reduction is to split away development-only files, as those are typically not needed during runtime.  As a result, closure sizes of many packages can get reduced to a half or even much less.</para>
-  <note><para>Similarly to other packaging systems, the reduction effects could be instead achieved by building the parts in completely separate derivations.  That would often additionally reduce build-time closures, but it would be much harder to write such derivations, due to build systems assuming all parts are being built at once.</para></note>
+  <note><para>The reduction effects could be instead achieved by building the parts in completely separate derivations.  That would often additionally reduce build-time closures, but it tends to be much harder to write such derivations, as build systems typically assume all parts are being built at once.  This compromise approach of single source package producing multiple binary packages is also utilized often by rpm and deb.</para></note>
 </section>
 
 <section><title>Installing a split package</title>