nix.dev icon indicating copy to clipboard operation
nix.dev copied to clipboard

Getting the URL of the system channel as a regular user?

Open michalrus opened this issue 8 years ago • 1 comments

How to do this? I could run:

$ sudo nix-channel --list

And add this command to sudoers.

Or set appropriate permissions for /root (701) and /root/.nix-channels (644), and read that file directly.

But both these solutions seem hacky. =)

michalrus avatar Apr 24 '17 20:04 michalrus

I marked this as stale due to inactivity. → More info

stale[bot] avatar Feb 15 '21 16:02 stale[bot]

Can this be closed? I looked in nix repo and it seems there have been bugs in the past where things would work differently depending on if ran without sudo, with sudo, or as su. Doesn't seem like anything actionable can be done here.

willbush avatar Jul 15 '24 01:07 willbush

Okay then 👍

michalrus avatar Jul 15 '24 06:07 michalrus