!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

339 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
25 May 2024
@tamar:tamar.cctamar joined the room.09:16:19
@sandro:supersandro.deSandro 🐧that's an fuse mount. Not sure if that can be used globally or only per command20:22:45
26 May 2024
@rxzfn2:matrix.orgzf 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@crimsonpanda:matrix.org joined the room.14:49:05
29 May 2024
@sako:catgirl.cloud@sako:catgirl.cloud removed their profile picture.18:27:22
@sako:catgirl.cloud@sako:catgirl.cloud removed their display name sako.18:27:47
@sako:catgirl.cloud@sako:catgirl.cloud left the room.18:27:56
@bslss:matrix.orgbslss joined the room.22:39:06
1 Jun 2024
@aledomu:matrix.org@aledomu:matrix.org left the room.03:52:43
@kumkee:matrix.orgkumkee joined the room.10:59:30
@kumkee:matrix.orgkumkeeHello. 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:0upti.meK900No, you shouldn't have to 12:18:20
@k900:0upti.meK900What exactly failed? 12:18:23
@nzbr:nzbr.denzbr (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:matrix.orgkumkee
In reply to @k900:0upti.me
What exactly failed?
I got the following errrs
22:17:08
@kumkee:matrix.orgkumkee
In reply to @k900:0upti.me
What exactly failed?
*

I got the following errors:

22:17:36
@kumkee:matrix.orgkumkee *

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:matrix.orgkumkee *

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:matrix.orgkumkee *

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:matrix.orgkumkee *

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:matrix.orgkumkee *

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:matrix.orgkumkee *

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:0upti.meK900
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:0upti.meK900 Try nix-store --verify --repair --check-contents 04:50:31
@tamar:tamar.cctamar changed their profile picture.11:17:40
@kumkee:matrix.orgkumkee
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:matrix.orgkumkee
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:0upti.meK900
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:matrix.organdreas_dev joined the room.11:39:33
@andreas_dev:matrix.organdreas_devI 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

Show newer messages


Back to Room ListRoom Version: 9