about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2024-03-18 11:29:47 +0200
committerDoron Behar <doron.behar@gmail.com>2024-03-18 11:29:47 +0200
commit290c16532c5e11f357cd48da7bfd072d5cbd0e0f (patch)
treed710bcee559e54881f31bdaf5286c37376e9ee1c /doc
parentcc744fc74a3814b8df2d3f078592b671bbfb3157 (diff)
doc/mkYarnPackage: document better distPhase and doDist
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/javascript.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md
index c148070ad244f..7a1b9d9f8de3f 100644
--- a/doc/languages-frameworks/javascript.section.md
+++ b/doc/languages-frameworks/javascript.section.md
@@ -315,10 +315,10 @@ buildPhase = ''
 '';
 ```
 
-The dist phase is also trying to build a binary, the only way to override it is with:
+The `distPhase` is packing the package's dependencies in a tarball using `yarn pack`. You can disable it using:
 
 ```nix
-distPhase = "true";
+doDist = false;
 ```
 
 The configure phase can sometimes fail because it makes many assumptions which may not always apply. One common override is: