Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] nix packaging

Subject: Rare project developers

List archive

Re: [rare-dev] nix packaging


Chronological Thread 
  • From: <>
  • To: <>
  • Cc: "" <>
  • Subject: Re: [rare-dev] nix packaging
  • Date: Mon, 16 Aug 2021 14:13:05 +0200
  • Authentication-results: mx2.switch.ch; x-trusted-ip=pass


Hi Csaba

> On Sun, 15 Aug 2021 05:39:55 +0200, mc36 <> said:

>> hello,
>> i just noticed that poznan runs the nix version of the rare builds....
>> checked around and found the following, please correct and rebuild:
>> - please use the latest greatest available jvm for the built blob... at
>> the moment you build with jvm8 whereas the latest stable is jvm16... (if
>> that is not yet nix-ized, then
>> jvm11 should work fine)

> The newest version in this instance of nixpkgs (release 20.09) is 14
> so I'm going to use that. jvm16 is in nixpkgs 21.05, but I'm not
> currently planning to migrate.

It appears that there are no JREs for Java 9 and later (I read that
this is due to the introduction of the "Java Platform Module System"
in Java 9) and the full JDK is a bit large for a runtime package. But
Nix provides a way to build a "minimal JRE" from a JDK by specifiying
the list of modules to include for the application. I started with the
bare minimum, i.e. only java.base (giving me a nice lean JRE of 44MiB)
and freertr seems to be fine with just that. Can you confirm that
this is all I need or are there any other modules I should include?

Regards,
Alex



Archive powered by MHonArc 2.6.19.

Top of Page