aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin@fricklerhandwerk.de>2022-07-13 11:53:59 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 12:37:48 +0200
commit0228eb8ae76d048b16caffff9628aec347ff1485 (patch)
tree2719d1410a767eb944a3ad19b67c24788d030b6b
parent29c062537d37fc10997767edd3edb6af41f1fb00 (diff)
add Java example on manual dependency declaration
-rw-r--r--doc/manual/src/architecture/store/path.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/src/architecture/store/path.md b/doc/manual/src/architecture/store/path.md
index 64bc4a522..7d793749b 100644
--- a/doc/manual/src/architecture/store/path.md
+++ b/doc/manual/src/architecture/store/path.md
@@ -83,6 +83,8 @@ Doing it at build time and persisting references in the store object avoids repe
::: {.note}
In practice, it is sometimes still necessary to declare certain dependencies explicitly, if they are to be preserved in the build result's closure.
This depends on the specifics of the software to build and run.
+
+For example, Java programs are compressed after compilation, which obfuscates any store paths they may refer to and prevents Nix from automatically detecting them.
:::
## Input Addressing {#input-addressing}