-
-
Save jeaye/7e9c4518a6827ebfa189683435eb609f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─(✓)[jeaye@oryx]─[~][11:16:06] | |
└──╼ nix-channel --add https://nixos.org/channels/nixpkgs-unstable | |
┌─(✓)[jeaye@oryx]─[~][11:16:09] | |
└──╼ nix-channel --list | |
nixpkgs https://nixos.org/channels/nixpkgs-unstable | |
┌─(✓)[jeaye@oryx]─[~][11:16:14] | |
└──╼ nix-channel --update | |
unpacking channels... | |
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring | |
error: while setting up the build environment: getting attributes of path '': No such file or directory | |
error: program '/usr/bin/nix-env' failed with exit code 1 | |
NIX_PATH | |
┌─(✗)[jeaye@oryx]─[~][11:16:22] | |
└──╼ sudo -i | |
[sudo] password for jeaye: | |
[root@oryx ~]# echo $NIX_PATH | |
nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs:/nix/var/nix/profiles/per-user/root/channels:nixpkgs=/root/.nix-defexpr/channels/nixpkgs | |
[root@oryx ~]# logout | |
┌─(✓)[jeaye@oryx]─[~][11:22:34] | |
└──╼ echo $NIX_PATH | |
nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs:/nix/var/nix/profiles/per-user/root/channels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment