!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

698 Members
Gaming things, my hands are typing words.180 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@fufexan:matrix.orgfufexanah, interesting21:29:57
@fufexan:matrix.orgfufexan *
multimc.override { jdk8 = "openjdk_someversion" };

roughly

21:30:13
@megamanmalte:retinker.demegamanmalte fufexan: papojari 🏳️‍🌈 I briefly tested multimc.override { jdk8 = jdk11; } which seems to do the job 21:40:16
@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

Show newer messages


Back to Room ListRoom Version: 6