I was actually thinking in relation to Alois' question earlier on this list. There are jars that bundle (protoc) binaries in them, and I've always thought it would be nicer if we could just call out to the actual protoc package in Nix.
The -0 idea would probably work for now, as I don't think the compression actually buys us much. The other thing sounds cool, but probably hard :) On Fri, Aug 28, 2015 at 11:17 AM, Eelco Dolstra <[email protected] > wrote: > Hi, > > On 28/08/15 15:02, Daniel Peebles wrote: > > > So is the solution to make our java packaging never produce any jars, and > > explicitly unpack any we encounter? > > The simple solution is to generate uncompressed JARs ("jar -0"). But that > should > be rarely needed since Java packages typically don't store paths to runtime > dependencies (though putting the paths to JAR dependencies in JAR manifests > would be a nice way to get RPATH-like behaviour!). > > -- > Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
