<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/build-support/setup-hooks/set-java-classpath.sh, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>java classpath hook: allow unbound $CLASSPATH</title>
<updated>2019-11-25T04:30:05+00:00</updated>
<author>
<name>Jason Felice</name>
<email>jason.m.felice@gmail.com</email>
</author>
<published>2019-11-25T04:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=7a77629490189757cf53972181c7aac1bd6a5257'/>
<id>7a77629490189757cf53972181c7aac1bd6a5257</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: Don't use envHook anymore</title>
<updated>2017-12-31T03:04:22+00:00</updated>
<author>
<name>John Ericson</name>
<email>John.Ericson@Obsidian.Systems</email>
</author>
<published>2017-08-10T22:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=046f091e0d9853a81ce4d484a75cfa1b5fc9347d'/>
<id>046f091e0d9853a81ce4d484a75cfa1b5fc9347d</id>
<content type='text'>
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup: Use += to append to envHooks</title>
<updated>2014-08-09T10:47:05+00:00</updated>
<author>
<name>Eelco Dolstra</name>
<email>eelco.dolstra@logicblox.com</email>
</author>
<published>2014-07-08T12:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=e3f7dbbac800124baa26317fcf792fe08f140655'/>
<id>e3f7dbbac800124baa26317fcf792fe08f140655</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a setup hook that automatically sets up $CLASSPATH</title>
<updated>2014-01-06T13:36:14+00:00</updated>
<author>
<name>Eelco Dolstra</name>
<email>eelco.dolstra@logicblox.com</email>
</author>
<published>2014-01-06T12:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5d6259a9739d03f6ae2751b342689c877e7209df'/>
<id>5d6259a9739d03f6ae2751b342689c877e7209df</id>
<content type='text'>
All JARs in $pkg/share/java (for each $pkg in the build inputs) are
added to $CLASSPATH.  Thus, you can say

  buildInputs = [ setJavaClassPath someJavaDependency ];

and the JARs in someJavaDependency will be found automatically by
tools like javac or ant.

Note that the manual used to say that JARs should be installed in
lib/java; this is now share/java, following the Debian policy:

  http://www.debian.org/doc/packaging-manuals/java-policy/x110.html

The directory share/java makes more sense because JARs are
architecture-independent.  (Also, a quick grep shows that we were not
exactly consistent about this in Nixpkgs.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All JARs in $pkg/share/java (for each $pkg in the build inputs) are
added to $CLASSPATH.  Thus, you can say

  buildInputs = [ setJavaClassPath someJavaDependency ];

and the JARs in someJavaDependency will be found automatically by
tools like javac or ant.

Note that the manual used to say that JARs should be installed in
lib/java; this is now share/java, following the Debian policy:

  http://www.debian.org/doc/packaging-manuals/java-policy/x110.html

The directory share/java makes more sense because JARs are
architecture-independent.  (Also, a quick grep shows that we were not
exactly consistent about this in Nixpkgs.)
</pre>
</div>
</content>
</entry>
</feed>
