!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

67 Members
17 Servers

Load older messages


SenderMessageTime
28 Jul 2021
@evanjsx:matrix.orgevanjs I was actually messing around with that lately and able to abstract quite a bit to TOML 21:57:58
@nbathum:matrix.orgnbathum (he or they) fzakaria: Thank you for clarifying 22:07:10
30 Jul 2021
@fzakaria:matrix.orgfzakaria (Old):bow:18:11:06
6 Aug 2021
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth).19:46:49
17 Aug 2021
@heartman:matrix.orgThomas Heartman (he/him) Hey 🙋 I'm trying to run a project that requires JDK version 16, but I can't seem to find any higher than 13 in when running nix search. Is 16 available somewhere? I noticed you could download it at adoptopenjdk.net, but haven't found it available for Nix anywhere. I haven't done a lot of Java, so it's quite possible that there's something that I don't get. In which case: I'd be happy to be corrected 😅 10:31:59
@heartman:matrix.orgThomas Heartman (he/him)Ah, sorry, my bad: turns out I hadn't updated my cache. 10:42:55
@fzakaria:matrix.orgfzakaria (Old)it requires 16 ?22:31:17
@fzakaria:matrix.orgfzakaria (Old)wow.22:31:18
@fzakaria:matrix.orgfzakaria (Old)cutting edge project ;)22:31:23
18 Aug 2021
@heartman:matrix.orgThomas Heartman (he/him)Yeah, I suppose. They're a pretty new company 😄07:08:06
@fzakaria:matrix.orgfzakaria (Old)They are flying too close to the sun.17:03:11
27 Aug 2021
@fzakaria:matrix.orgfzakaria (Old)Wow the adoptopenjdk Nix recipe is awesome22:31:08
@fzakaria:matrix.orgfzakaria (Old)i love how it works off a JSON file22:31:12
@fzakaria:matrix.orgfzakaria (Old)I wish more build recipes worked like that.22:31:20
31 Aug 2021
@fzakaria:matrix.orgfzakaria (Old)oh it doesn't build from source...15:59:41
@fzakaria:matrix.orgfzakaria (Old)nixpkgs should prune all packages that build from a binary distribution...15:59:51
@fzakaria:matrix.orgfzakaria (Old)you lose all the real transitive information for build dependencies16:00:07
@fzakaria:matrix.orgfzakaria (Old)https://github.com/NixOS/nixpkgs/issues/13630816:04:03
2 Sep 2021
@rosariopulella:matrix.orgRosario Pulella joined the room.17:53:34
3 Sep 2021
@humancalico:matrix.orghumancalico joined the room.06:32:13
7 Sep 2021
@heartman:matrix.orgThomas Heartman (he/him)Anyone know anything about getting a kotlin language server running on NixOS? I can't find one in nixpkgs, and building the one on github (https://github.com/fwcd/kotlin-language-server) fails for me. Or optionally: anyone know how to get IDEA running on NixOS? Mine gets stuck after the splash screen.13:40:46
@heartman:matrix.orgThomas Heartman (he/him) Oh, it seems that it does build if I use adoptopenjdk-bin, but not if I use adoptopenjdk-hotspot-bin-16. Huh. Guess I'll see if it works properly tomorrow 🤞 14:22:43
8 Sep 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @heartman:matrix.org
Anyone know anything about getting a kotlin language server running on NixOS? I can't find one in nixpkgs, and building the one on github (https://github.com/fwcd/kotlin-language-server) fails for me.

Or optionally: anyone know how to get IDEA running on NixOS? Mine gets stuck after the splash screen.
https://github.com/search?q=org%3Avi-tality+kotlin&type=code
08:26:40
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusas for idea - it should work fine?08:26:47
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusif you are on wayland - you need to export some fancy variable08:27:00
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
      export _JAVA_AWT_WM_NONREPARENTING=1
08:27:45
9 Sep 2021
@heartman:matrix.orgThomas Heartman (he/him)
In reply to @gytis-ivaskevicius:matrix.org
https://github.com/search?q=org%3Avi-tality+kotlin&type=code

Oh, sweet! That's a neat trick I haven't seen before. Yeah, seems importing it via NUR works 🎉
I
Yeah, about IDEA: I don't know why, but it doesn't. I see the splash screen with the version etc. It then draws a window, but the window is empty. I'll attach a screenshot to demonstrate. There is an error that appears in the console, though:

2021-09-09 09:49:13,940 [   6691]   WARN - llij.ide.plugins.PluginManager - id redefinition ([row,col,system-id]: [2,3,"product classpath"])
2021-09-09 09:49:55,910 [  48661]  ERROR - tellij.diagnostic.LoadingState - Should be called at least in the state CONFIGURATION_STORE_INITIALIZED, the current state is: LAF_INITIALIZED
Current violators count: 1


java.lang.Throwable
	at com.intellij.diagnostic.LoadingState.logStateError(LoadingState.java:53)
	at com.intellij.diagnostic.LoadingState.checkOccurred(LoadingState.java:49)
	at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:50)
	at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:22)
	at com.intellij.execution.process.CapturingProcessHandler$Silent.<init>(CapturingProcessHandler.java:92)
	at com.intellij.ide.browsers.BrowserLauncherAppless$doLaunch$2.run(BrowserLauncherAppless.kt:203)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:829)
2021-09-09 09:49:55,923 [  48674]  ERROR - tellij.diagnostic.LoadingState - IntelliJ IDEA 2021.2  Build #IU-212.4746.92
2021-09-09 09:49:55,925 [  48676]  ERROR - tellij.diagnostic.LoadingState - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: Oracle Corporation
2021-09-09 09:49:55,925 [  48676]  ERROR - tellij.diagnostic.LoadingState - OS: Linux
2021-09-09 09:51:39,819 [ 152570]   WARN - l.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@21703ef5). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=/nix/store/igrdv5rq177dg6fd2z1id88v6wvq3z75-idea-ultimate-2021.2/idea-ultimate-2021.2/plugins/cwm-plugin, version=212.4746.92, package=null)

I don't really know what it's about, though.

07:54:03
@heartman:matrix.orgThomas Heartman (he/him)2021-09-09-095246_3837x1853_scrot.png
Download 2021-09-09-095246_3837x1853_scrot.png
07:54:46
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusTry clearing it's config folder08:43:05
@heartman:matrix.orgThomas Heartman (he/him)

Based on their docs, that's ~/.config/JetBrains/<...>, right?

Deleting that folder and launching idea-ultimate again gives this:

2021-09-09 14:52:46,923 [   6869]   WARN - llij.ide.plugins.PluginManager - id redefinition ([row,col,system-id]: [2,3,"product classpath"])
2021-09-09 14:52:49,739 [   9685]   WARN - arketplace.MarketplaceRequests - Error reading Marketplace file: com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input: was expecting closing quote for a string value
 at [Source: (BufferedReader); line: 1, column: 81272] (through reference chain: java.util.HashSet[3097]) (file=/home/thomas/.local/share/JetBrains/IntelliJIdea2021.2/pluginsXMLIds.json URL=https://plugins.jetbrains.com/files/pluginsXMLIds.json)
2021-09-09 14:52:49,788 [   9734]   WARN - l.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@4c8901b1). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=/nix/store/igrdv5rq177dg6fd2z1id88v6wvq3z75-idea-ultimate-2021.2/idea-ultimate-2021.2/plugins/cwm-plugin, version=212.4746.92, package=null)

And the same blank window.

12:54:09

Show newer messages


Back to Room ListRoom Version: 6