Why Nostr? What is Njump?
2024-03-30 00:54:27

emmanuelrosa on Nostr: I just found out that Bisq2 was released. You know, the thing with Java applications ...

I just found out that Bisq2 was released.

You know, the thing with Java applications is that building them from source using Nix is really difficult. During the development of the Nix package for Bisq, I wrote a script which I would run to generate a Nix expression describing the Java packages which needed to be downloaded. Then another Nix expression would create a temporary (Maven) repository containing the downloaded dependencies. THEN, it was possible to build Bisq with Nix.

But I ran into a problem: I needed to include some DAO data and there was no way to get that in a reproduceable way, causing the build to fail when the DAO data was updated by upstream. I did find a solution. It so happened that the upsteam Linux package included the DAO data. I realized that I could get the DAO data from that file, solving the reproduceability problem. But at that point I also realized that if I was going to have to download the upstream linux package to get the data I needed, why not just repackage upstream's package for NixOS? This is the reason why the current Nix Bisq package is a repackaging up upstream's package, rather than a source build.

I don't know why I'm saying all of this, other than perhaps I'm feeling uncharacteristically chatty today.

I'm going to take a look at Bisq2 and create a Nix package for it. I can guarantee that I won't be building it from source ;)
Author Public Key
npub18eynzyyrx0v46qjnvtj6mvekpxlfnkq06e3zfd6q9487vty0lfaszucvu7