| 25 May 2024 |
| tamar joined the room. | 09:16:19 |
Sandro 🐧 | that's an fuse mount. Not sure if that can be used globally or only per command | 20:22:45 |
| 26 May 2024 |
zf zhang | In reply to @sandro:supersandro.de that's an fuse mount. Not sure if that can be used globally or only per command I just try one command thing such as nix run and it works for local store or overlay-store, but I still trying to find out how to make it globally. Any suggestions? | 02:18:37 |
| 27 May 2024 |
| @crimsonpanda:matrix.org joined the room. | 14:49:05 |
| 29 May 2024 |
| @sako:catgirl.cloud removed their profile picture. | 18:27:22 |
| @sako:catgirl.cloud removed their display name sako. | 18:27:47 |
| @sako:catgirl.cloud left the room. | 18:27:56 |
| bslss joined the room. | 22:39:06 |
| 1 Jun 2024 |
| @aledomu:matrix.org left the room. | 03:52:43 |
| kumkee joined the room. | 10:59:30 |
kumkee | Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL? | 11:00:50 |
K900 | No, you shouldn't have to | 12:18:20 |
K900 | What exactly failed? | 12:18:23 |
nzbr (they/it) | In reply to@nzbr:nzbr.de PXL_20240417_134226530.MP - Kopie - Kopie.jpg If you are at GPN and want one of these, let me know | 14:42:02 |
kumkee | In reply to @k900:0upti.me What exactly failed? I got the following errrs | 22:17:08 |
kumkee | In reply to @k900:0upti.me What exactly failed? * I got the following errors:
| 22:17:36 |
kumkee | * I got the following errors (there are more):
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
| 22:18:20 |
kumkee | * Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
# liang @ nixos in ~ [10:16:20]
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
| 22:21:53 |
kumkee | * Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
# Changing system.stateVersion to "24.05"
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
# liang @ nixos in ~ [10:16:20]
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
| 22:23:05 |
kumkee | * Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
# Changing system.stateVersion to "24.05"
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
# liang @ nixos in ~ [10:16:20]
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
# there are more similar error messages
| 22:23:38 |
kumkee | * Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
# Changing system.stateVersion to "24.05"
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
# liang @ nixos in ~ [10:16:20]
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
# ...
# there are more similar error messages
| 22:23:52 |
kumkee | * Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
# Changing system.stateVersion to "24.05"
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
# ...
# there are more similar error messages
| 22:31:03 |
| 2 Jun 2024 |
K900 | In reply to @kumkee:matrix.org
I got the following errors (there are more):
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
That sounds like store corruption possibly | 04:50:13 |
K900 | Try nix-store --verify --repair --check-contents | 04:50:31 |
| tamar changed their profile picture. | 11:17:40 |
kumkee | In reply to @kumkee:matrix.org
Hello. I'm trying to upgrade to NixOS 24.05, but failed. Do I have to wait for a new release from NixOS-WSL?
# Changing system.stateVersion to "24.05"
$ sudo vim /etc/nixos/configuration.nix
$ sudo nix-channel --add https://channels.nixos.org/nixos-24.05-small nixos
$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by nix-instantiate)
nix-instantiate: /nix/store/fgr12566n8yfj7jb119chr5vhshvwpym-gcc-12.3.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /nix/store/j7rp0y3ii1w3dlbflbxlv4g7hbaaz3bs-nix-2.18.2/lib/libnixexpr.so)
# ...
# there are more similar error messages
This is solved by this GitHub comment. | 23:51:08 |
kumkee | In reply to @k900:0upti.me That sounds like store corruption possibly Thanks for the help. It turns out to be the problem with LD_LIBRARY_PATH. Commenting out the following solve the problem.
# sessionVariables.LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; | 23:52:50 |
| 3 Jun 2024 |
K900 | In reply to @kumkee:matrix.org Thanks for the help. It turns out to be the problem with LD_LIBRARY_PATH. Commenting out the following solve the problem.
# sessionVariables.LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; Yeah don't ever set LD_LIBRARY_PATH globally | 07:24:28 |
| 9 Jun 2024 |
| andreas_dev joined the room. | 11:39:33 |
andreas_dev | I still seem to have this issue https://github.com/nix-community/NixOS-WSL/issues/362 , even though it's resolved on main. I'm using Flakes and have my inputs for WSL use main, but I'm thinking it's because I used the 23.11 release tarball from 6 months ago to set up the distro and the fix for the name attribute on the user landed in main after that release.
Am I correct in that assumption?
I could provide my flake.nix, but I won't have access to that Windows machine until next week (and all my other machines are able to run NixOS) | 11:45:53 |