about summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorMidnight Veil <midnightveil@fea.st>2023-12-09 17:54:22 +1100
committerGitHub <noreply@github.com>2023-12-09 17:54:22 +1100
commitc1678c25679f3803509c66ae9870bea7d13aea84 (patch)
tree4c82b069012446545ae074de9d4053256df83c27 /doc/languages-frameworks
parent29558c0722ffd40ff625256e16259168b7c03ed1 (diff)
doc: mkYarnPackage/mkYarnModules should use offlineCache to prevent IFD
This is not mentioned elsewhere, and can be confusing.
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/javascript.section.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md
index 152974b465a54..5d2a6413e104a 100644
--- a/doc/languages-frameworks/javascript.section.md
+++ b/doc/languages-frameworks/javascript.section.md
@@ -354,6 +354,7 @@ mkYarnPackage rec {
 
   - The `echo 9` steps comes from this answer: <https://stackoverflow.com/a/49139496>
   - Exporting the headers in `npm_config_nodedir` comes from this issue: <https://github.com/nodejs/node-gyp/issues/1191#issuecomment-301243919>
+- `offlineCache` (described [above](#javascript-yarn2nix-preparation)) must be specified to avoid [Import From Derivation](#ssec-import-from-derivation) (IFD) when used inside Nixpkgs.
 
 ## Outside Nixpkgs {#javascript-outside-nixpkgs}