forked from lix-project/lix
add Java example on manual dependency declaration
This commit is contained in:
parent
29c062537d
commit
0228eb8ae7
|
@ -83,6 +83,8 @@ Doing it at build time and persisting references in the store object avoids repe
|
||||||
::: {.note}
|
::: {.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.
|
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.
|
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}
|
## Input Addressing {#input-addressing}
|
||||||
|
|
Loading…
Reference in a new issue