Evaluation warning:

evaluation warning: after running the following code

nix-channel --update && nixos-rebuild switch && reboot

my system: Linux nixos 6.12.69-hardened1 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 6 15:55:51 UTC 2026 x86_64 GNU/Linux.

hi, i can’t see how to fix these error codes, the references there are not in my conf.nix, where do i find the lines to fix.
is there a command like, “nix replace >> iproute2mac = darwin.iproute2mac”. any solutions?

the Warning:

evaluation warning: darwin.iproute2mac has been renamed to iproute2mac
evaluation warning: 'dockerfile-language-server-nodejs' has been renamed to 'dockerfile-language-server'
evaluation warning: beets-stable was aliased to beets, since upstream releases are frequent nowadays
evaluation warning: beets-unstable was aliased to beets, since upstream releases are frequent nowadays
evaluation warning: 'f3d' now build with egl support by default, so `f3d_egl` is deprecated, consider using 'f3d' instead.
evaluation warning: beets-stable was aliased to beets, since upstream releases are frequent nowadays
evaluation warning: beets-unstable was aliased to beets, since upstream releases are frequent nowadays
evaluation warning: 'f3d' now build with egl support by default, so `f3d_egl` is deprecated, consider using 'f3d' instead.
evaluation warning: 'hsa-amd-aqlprofile-bin' has been replaced by 'aqlprofile'.
evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'
evaluation warning: 'ethersync' has been renamed to 'teamtype'
evaluation warning: Please replace 'pure-lua' with 'moonlight-nvim' as this name was an error
evaluation warning: windows.mingw_w64_pthreads is deprecated, windows.pthreads should be preferred

No.

What’s the output of nix-channel --list as root and as your regular user?

as regular user

$ nix-channel --list

and as a “sudo” user

$ sudo nix-channel --list
nixos https://channels.nixos.org/nixos-25.11

a little update, i add the channel again

nix-channel --add https://channels.nixos.org/nixos-25.11 nixos

and then

nix-channel --update && nixos-rebuild switch && reboot

whit a “error” this result

unpacking 1 channels…
building the system configuration…
error: creating symlink “/nix/var/nix/profiles/.0_system” → “system-86-link”: Permission denied
Command ‘nix-env -p /nix/var/nix/profiles/system --set /nix/store/3qcx6d4p2g5vxixrzgla0jbn4ckywpbf-nixos-system-nixos-25.11.9418.c7f47036d3df’ returned non-zero exit status 1.

does it mean something and what.

Well you have to run the nixos-rebuild with root perms (sudo or use the --sudo flag).
nix-channel should be used as root as well.

yes, I have always used sudo, I apologize for not showing it in connection with the commands run

Those errors disagree with you. Note that chaining commands with && doesn’t propagate the sudo command, you need:

sudo nix-channel --update && sudo nixos-rebuild switch && sudo reboot

Or, better:

sudo nixos-rebuild boot --upgrade && sudo reboot
1 Like

Solved

yes that solves the problem. :upside_down_face:
i must thank you very much for the help, it is a big mistake on my part to overlook the missing permissions in the execution of the command.

It’s a minor thing, but when someone helps you with your problem, it’s good etiquette to mark their comment as the solution instead of your comment saying ‘yes, this helped’.

2 Likes

I must think I was close, with my first answer ,and it’s not as small a question as it sounds, I’ve corrected my mistake. :slightly_smiling_face:

1 Like