| 24 Jun 2021 |
papojari 🏳️🌈 | error: undefined variable 'jdk11' | 21:46:41 |
papojari 🏳️🌈 | * ```error: undefined variable 'jdk11'` | 21:46:51 |
papojari 🏳️🌈 | * error: undefined variable 'jdk11'
| 21:47:01 |
papojari 🏳️🌈 | also isn't it
multimc.override = { jdk8 = jdk11; };
| 21:48:13 |
megamanmalte | 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 | 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 | 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 | oh I just looked at the derivation - that won't work | 21:50:42 |
fufexan | (multimc.overrideAttrs (old: {
| 21:50:58 |
fufexan | * (multimc.overrideAttrs (old: {
nativeBuildInputs = [ qtbase jdk11 zlib ];
}))
try this
| 21:51:44 |
fufexan | if that doesn't work either, prepend with pkgs; before [ ... ]; | 21:52:41 |
fufexan | * (multimc.overrideAttrs (old: {
nativeBuildInputs = [ qtbase jdk11 zlib ];
}))
try this
| 21:53:05 |
fufexan | * multimc.override { jdk8 = "openjdk_someversion" };
roughly
| 21:53:21 |
megamanmalte | 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 | * 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 | yep, you're right. I'm kinda tired and rushed it :embar | 21:56:00 |
fufexan | * yep, you're right. I'm kinda tired and rushed it :embarassed: | 21:56:03 |
fufexan | * yep, you're right. I'm kinda tired and rushed it 😅 | 21:56:23 |
megamanmalte | :D I didn't mean to be a smartass about it 😁 | 21:57:02 |
fufexan | nah, it's fine. I'll edit my message | 21:57:27 |
fufexan | * (multimc.overrideAttrs (old: {
buildInputs = [ qtbase jdk11 zlib ];
}))
try this
| 21:57:36 |
| nh2 joined the room. | 22:13:36 |
nh2 | 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 | yeah the issue to follow is https://github.com/NixOS/nixpkgs/issues/128021 | 22:15:02 |
Dandellion | oh you already found it 🙂 | 22:15:14 |
nh2 | Dandellion: Wanted to slam some pubs, now gotta slam some bugs! | 22:15:39 |
Dandellion | Good luck! | 22:15:54 |
nh2 | 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 | https://github.com/ValveSoftware/Dota-2/issues/1950 | 22:16:55 |
Dandellion | The missing library isn't present in the dota they get either, but turning off the steam-play runtime made the game launch for them | 22:17:42 |