!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

119 Members
26 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 May 2025
@qbig:matrix.org@qbig:matrix.org joined the room.19:22:27
@qbig:matrix.org@qbig:matrix.org left the room.19:44:42
23 May 2025
@raboof:matrix.orgraboof whoa is that // a sort of alternative shebang? what's that called? TIL 08:00:34
@qyliss:fairydust.spaceAlyssa RossI think it's relying on being run by a shell08:04:08
@qyliss:fairydust.spaceAlyssa RossAnd then it's just an absolute path08:04:15
@qyliss:fairydust.spaceAlyssa Rossi.e. execve wouldn't work, but shells usually fall back to executing as a shell script and that would work.08:05:06
@raboof:matrix.orgraboofah ofc... neat trick though08:06:03
@qyliss:fairydust.spaceAlyssa RossIt also takes advantage of shells executing line by line, so it can just tell the shell to exit before encountering the Java code that would be a syntax error.08:09:03
@alice:the-apothecary.clubAlicewe thought that java supports standard shebang syntax?08:14:06
@raboof:matrix.orgraboofit does, but that doesn't seem to work together (yet?) it seems (gives "error: no class declared in source file" when the shebang exists)08:49:14
@msgilligan:matrix.orgmsgilliganI learned the trick from JBang, see https://www.jbang.dev/documentation/guide/latest/usage.html12:13:53
@msgilligan:matrix.orgmsgilliganJBang is available in Nixpkgs and is worth checking out. (I may send them a PR to their documentation to add Nix as an installation method)12:15:49
29 May 2025
@oscarvarto:matrix.orgOscar Vargas Torres joined the room.04:26:13
@deeok:matrix.org@deeok:matrix.org joined the room.16:46:44
1 Jun 2025
@seanthw:matrix.orgSean Thawe joined the room.23:38:12
2 Jun 2025
@frederic:scs.ems.hostFrédéric Christ changed their display name from Frédéric Christ (🧳 12.05. - 02.06.) to Frédéric Christ.07:02:38

Show newer messages


Back to Room ListRoom Version: 6