Hi!
I tried to update some packages (cursor, vivaldi, chromium…) using the unstable channel. NixOS apply the changes but I cannot open the apps.
Here is the error when I launch cursor :
cursor: /nix/store/zyhd24n97k0adnfc26x088zd0mdx7zd3-util-linux-minimal-2.39.4-lib/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /lib/libgio-2.0.so.0)
The error is the same for other apps.
Does anyone have the same issue ? What’s going wrong ?
Thx.
How did you use the unstable channel here? Please share your config and your sudo nix-channel --list
output.
Thanks for your reply.
Here is the output:
nixos https://nixos.org/channels/nixos-24.11
nixos-hardware https://github.com/NixOS/nixos-hardware/archive/master.tar.gz
nixos-unstable https://nixos.org/channels/nixpkgs-unstable
nixpkgs https://nixos.org/channels/nixos-24.11
unstable https://nixos.org/channels/nixpkgs-unstable
In my configuration.nix
, I define this:
# Define unstablePkgs variable
_module.args.unstablePkgs = import <nixos-unstable> { config.allowUnfree = true; };
And use it in the home.nix
:
...
environment.systemPackages = with pkgs; [
...
unstablePkgs.code-cursor
...
]
If I don’t use unstable channel (code-cursor
), it works but at version 0.42.4
I finally found the cause of the problem.
In my home.nix
, I had those lines :
environment = {
sessionVariables = {
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath [pkgs.libuuid]}";
};
};
I don’t remember why I added this. So I removed those lines and everything is working well now!
Thanks @waffle8946