| 22 Nov 2023 |
K900 | Nixpkgs | 20:34:23 |
K900 | That error means either your prismlauncher or your mangohud are built with an older nixpkgs than your driver | 20:34:50 |
@ktn:the-apothecary.club | driver for what sorry? | 20:35:31 |
K900 | Driver for your GPU, which comes from your system config | 20:35:51 |
@ktn:the-apothecary.club | prismlauncher is installed with home.packages | 20:36:20 |
@ktn:the-apothecary.club | is that why | 20:36:21 |
K900 | Are you using HM as a NixOS module? | 20:37:19 |
@ktn:the-apothecary.club | standalone | 20:37:36 |
K900 | Then you need to ensure you use the same nixpkgs revision for both | 20:39:50 |
@ktn:the-apothecary.club | In reply to @k900:0upti.me Then you need to ensure you use the same nixpkgs revision for both Shouldn't it be enough to have this:
home-manager = {
url = "github:nix-community/home-manager/";
inputs.nixpkgs.follows = "nixpkgs";
};
in my flake? | 22:32:26 |
@ktn:the-apothecary.club | I just updated my system to the latest (rebuilt both system and hm) and I get a slightly different output in the launcher:
Minecraft process ID: 150215
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/8zh9kg0cafvmagk71sy0zv3jr7vqxifm-mangohud-0.7.0/lib/mangohud/libMangoHud_opengl.so)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/8zh9kg0cafvmagk71sy0zv3jr7vqxifm-mangohud-0.7.0/lib/mangohud/libMangoHud.so)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/b7pb0mmcwjp973nj8gcaa2fnmqxckc8q-libX11-1.8.7/lib/libX11.so.6)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/myw67gkgayf3s2mniij7zwd79lxy8v0k-gcc-12.3.0-lib/lib/libstdc++.so.6)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/mdxa9k44xzha1bwwdr3wrbxs4ncb03sq-libxcb-1.16/lib/libxcb.so.1)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/70iyy9bchq62rl5wv9qhcpqpwnd3hysx-libXcursor-1.2.1/lib/libXcursor.so.1)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/a39i17gd56l2s41j66djwz2r9yr905ja-libGL-1.7.0/lib/libEGL.so.1)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/aglgni7yskphxmpdkc8yvah61drjfkqk-systemd-minimal-libs-254.3/lib/libsystemd.so.0)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/a39i17gd56l2s41j66djwz2r9yr905ja-libGL-1.7.0/lib/libGLdispatch.so.0)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/a39i17gd56l2s41j66djwz2r9yr905ja-libGL-1.7.0/lib/libGLX.so.0)
/nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java: /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/8bzgq1kprz2cxar7kvhscjgqnjhbd0i8-libcap-2.69-lib/lib/libcap.so.2)
Process exited with code 1.
| 22:33:28 |
@ktn:the-apothecary.club | Is it maybe a packaging error (in mangohud)? | 22:34:00 |
@ktn:the-apothecary.club | unstable has glibc 2.38-27 | 22:34:24 |
| 23 Nov 2023 |
K900 | No, it's not | 06:54:34 |
K900 | It looks like you're still using an old openjdk | 06:54:50 |
@ktn:the-apothecary.club | In reply to @k900:0upti.me It looks like you're still using an old openjdk jdk17 | 12:05:53 |
@ktn:the-apothecary.club | I thought that would work fine | 12:06:00 |
K900 | But where is it coming from? | 12:06:02 |
@ktn:the-apothecary.club | Java path: /nix/store/rwla3k3s67p4f1446cx8l3jh9rral9nn-openjdk-17.0.7+7/bin/java | 12:06:13 |
@ktn:the-apothecary.club | in prism settings | 12:06:16 |
K900 | Yes but it's likely from an older channel | 12:06:25 |
@ktn:the-apothecary.club | I don't know how it could be | 12:06:33 |
@ktn:the-apothecary.club | I do have two instances of nixpkgs in my flake lock | 12:07:47 |
@ktn:the-apothecary.club | The first one has a timestamp of 9 months ago so I'm not sure it's relevent | 12:08:38 |
K900 | It could be | 12:10:43 |
K900 | Where is it used? | 12:10:45 |
@ktn:the-apothecary.club | How could I check | 12:10:53 |
K900 | Also, is your prismlauncher maybe installed with nix profile or something | 12:10:55 |
@ktn:the-apothecary.club | No | 12:11:00 |
@ktn:the-apothecary.club | Home manager | 12:11:02 |