!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

689 Members
Gaming things, my hands are typing words.179 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@papojari:artemislena.eupapojari 🏳️‍🌈 error: undefined variable 'jdk11' 21:46:41
@papojari:artemislena.eupapojari 🏳️‍🌈 * ```error: undefined variable 'jdk11'`21:46:51
@papojari:artemislena.eupapojari 🏳️‍🌈 *
error: undefined variable 'jdk11'
21:47:01
@papojari:artemislena.eupapojari 🏳️‍🌈

also isn't it

multimc.override = { jdk8 = jdk11; };
21:48:13
@megamanmalte:retinker.demegamanmalte
In reply to @papojari:artemislena.eu
error: undefined variable 'jdk11'
I just ran nix-shell -p 'multimc.override { jdk8 = jdk11; }', if you want to add that to the packages you may have to replace jdk11 with pkgs.jdk11 or something similar
21:48:39
@megamanmalte:retinker.demegamanmalte I think override is a function taking a set of arguments to replace, but I'm a little over my head here 21:49:24
@fufexan:matrix.orgfufexan
In reply to @megamanmalte:retinker.de
I think override is a function taking a set of arguments to replace, but I'm a little over my head here
you're right
21:49:47
@fufexan:matrix.orgfufexanoh I just looked at the derivation - that won't work21:50:42
@fufexan:matrix.orgfufexan
(multimc.overrideAttrs (old: {
21:50:58
@fufexan:matrix.orgfufexan *
(multimc.overrideAttrs (old: {
  nativeBuildInputs = [ qtbase jdk11 zlib ];
}))

try this

21:51:44
@fufexan:matrix.orgfufexan if that doesn't work either, prepend with pkgs; before [ ... ]; 21:52:41
@fufexan:matrix.orgfufexan *
(multimc.overrideAttrs (old: {
  nativeBuildInputs = [ qtbase jdk11 zlib ];
}))

try this

21:53:05
@fufexan:matrix.orgfufexan *
multimc.override { jdk8 = "openjdk_someversion" };

roughly

21:53:21
@megamanmalte:retinker.demegamanmalte fufexan: Did you man to write buildInputs instead of nativeBuildInputs? Also, it looks like nixos-21.05is actually usingjdkthere while it'sjdk8onmaster` 21:55:17
@megamanmalte:retinker.demegamanmalte * fufexan: Did you man to write buildInputs instead of nativeBuildInputs? Also, it looks like nixos-21.05is actually usingjdkthere while it'sjdk8onmaster 21:55:30
@fufexan:matrix.orgfufexanyep, you're right. I'm kinda tired and rushed it :embar21:56:00
@fufexan:matrix.orgfufexan * yep, you're right. I'm kinda tired and rushed it :embarassed:21:56:03
@fufexan:matrix.orgfufexan * yep, you're right. I'm kinda tired and rushed it 😅21:56:23
@megamanmalte:retinker.demegamanmalte:D I didn't mean to be a smartass about it 😁21:57:02
@fufexan:matrix.orgfufexannah, it's fine. I'll edit my message21:57:27
@fufexan:matrix.orgfufexan *
(multimc.overrideAttrs (old: {
  buildInputs = [ qtbase jdk11 zlib ];
}))

try this

21:57:36
@nh2:matrix.orgnh2 joined the room.22:13:36
@nh2:matrix.orgnh2
In reply to @dandellion:dodsorf.as
did dota 2 break for anyone else with the nemistice update?
I'm also suffering from it
22:14:44
@dandellion:dodsorf.asDandellionyeah the issue to follow is https://github.com/NixOS/nixpkgs/issues/12802122:15:02
@dandellion:dodsorf.asDandellionoh you already found it 🙂22:15:14
@nh2:matrix.orgnh2 Dandellion: Wanted to slam some pubs, now gotta slam some bugs! 22:15:39
@dandellion:dodsorf.asDandellionGood luck!22:15:54
@nh2:matrix.orgnh2

Dandellion: where did you find that

other distros can launch the game with their native runtime even with the missing library
?

22:16:30
@dandellion:dodsorf.asDandellionhttps://github.com/ValveSoftware/Dota-2/issues/195022:16:55
@dandellion:dodsorf.asDandellionThe missing library isn't present in the dota they get either, but turning off the steam-play runtime made the game launch for them22:17:42

Show newer messages


Back to Room ListRoom Version: 6