mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02:00
add Java example on manual dependency declaration
This commit is contained in:
parent
29c062537d
commit
0228eb8ae7
1 changed files with 2 additions and 0 deletions
|
@ -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