| 24 Jun 2021 |
dschrempf | Somehow it still misses a POM: [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.6 is missing, no dependency information available | 12:53:43 |
dschrempf | This POM is in the pom.xml file but not in the json lock file produced by mvn2nix. | 12:54:01 |
dschrempf | It turns out that I also have to merge dependencies from different goals... Now, some goals require the package being built at the moment, and which is not available on the repository, so mvn2nix fails.
Sorry for spamming you, feel free to jump in if you can help, I give up now! Cheers. | 14:03:50 |
dschrempf | Redacted or Malformed Event | 15:44:47 |
dschrempf | or-tools-jar = fetchurl { url = "https://repo1.maven.org/maven2/com/google/ortools/ortools-java/9.0.9048/ortools-java-9.0.9048.jar"; hash = "sha256-x8zqeMVjaMGx++sK6641JfzbM9s0D982vi4SCNWKE8o="; };
| 15:44:49 |
dschrempf | * or-tools-jar = fetchurl {
url = "https://repo1.maven.org/maven2/com/google/ortools/ortools-java/9.0.9048/ortools-java-9.0.9048.jar";
hash = "sha256-x8zqeMVjaMGx++sK6641JfzbM9s0D982vi4SCNWKE8o=";
};
| 15:45:27 |
dschrempf | * OK, so I did something really lame, not sure if this would be accepted on Nixpkgs. I just define the required jar as an external source file, like so:
or-tools-jar = fetchurl {
url = "https://repo1.maven.org/maven2/com/google/ortools/ortools-java/9.0.9048/ortools-java-9.0.9048.jar";
hash = "sha256-x8zqeMVjaMGx++sK6641JfzbM9s0D982vi4SCNWKE8o=";
};
| 15:46:11 |
| 25 Jun 2021 |
fzakaria (Old) | Hi. | 02:33:31 |
fzakaria (Old) | dschrempf: the mvn2nix tool is definitely missing functionality. I've learnt quite a lot since writing it. Frustratingly, maven does not allow the best introspection. | 02:34:28 |
fzakaria (Old) | is this derivation for personal use ? | 02:37:58 |
fzakaria (Old) | I have some recommendations you can do to go about it quickly; albeit not pure in it's approach | 02:38:22 |
| 26 Jun 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:18:14 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 01:22:32 |
| NixOS Moderation Bot joined the room. | 01:22:33 |
| 28 Jun 2021 |
dschrempf | At the moment it is personal, but the idea was to update Jugglinglab in Nixpkgs. The fetchurl method works quite well here, but somehow I don't think it is suitable for Nixpkgs. | 12:16:34 |
fzakaria (Old) | I've been using _noChroot for personal stuff; it's kind of a lame hack but assigning it only on the Java portion | 15:25:47 |
fzakaria (Old) | Doing a separate derivation for Maven repository is also doable; but it's just slow to keep rebuilding when I change my pom.xml.
I might need to change up the derivation to use symlinkTrees instead somehow. | 15:26:40 |
fzakaria (Old) | so its more granular | 15:26:43 |
| 29 Jun 2021 |
| nbathum joined the room. | 00:03:15 |
| 30 Jun 2021 |
| tadfisher joined the room. | 21:14:06 |
| 1 Jul 2021 |
| Thomas Heartman (he/him) joined the room. | 09:56:51 |
| 5 Jul 2021 |
| spacesbot - keeps a log of public NixOS channels joined the room. | 19:21:33 |
| spacesbot - keeps a log of public NixOS channels | 19:49:36 |
| 6 Jul 2021 |
| spacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels. | 22:11:43 |
| 7 Jul 2021 |
fzakaria (Old) | hi everyone who joined! | 03:00:12 |
fzakaria (Old) | if anyone has experience hacking on Maven itself please reach out. I've been thinking about a proper solution to Nix + Java, I think it needs a large fork of maven. | 03:00:52 |
| cybersiddhu joined the room. | 16:29:26 |
| 15 Jul 2021 |
nbathum | fzakaria, please excuse this notion if it is not relevant as I'm unfamiliar with the specific constraints of your projects and work. but is it at all possible for you to use gradle? | 11:43:08 |
| 21 Jul 2021 |
fzakaria (Old) | Not for my current project or onboarding many projects; | 04:03:03 |
fzakaria (Old) | Im also happy to start the holy-war argument of Gradle vs Maven | 04:03:19 |