<Jasper__>
Hi! I was hoping someone might be able to help me out. I've installed nix on my macos and tried to switch to the nixpkgs-18.03-darwin channel (it was the nixpkgs-unstable channel by default). At the moment `nix-channel --list` (both with sudo and without) return no output. `nix-info -m` however shows I'm registered to multiple channels. Trying to look up a package using `nix-env -qa stack` gives me back two name collission warni
<Jasper__>
Would appreciate any help!
<Jasper__>
nix-info -m output:
<Jasper__>
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:9 - system: `0` - host os: `Darwin 17.6.0, macOS 10.13.5` - multi-user?: `no` - sandbox: `yes` - version: `nix-env (Nix) 2.0.4` - channels(root): `"nixpkgs-18.03-darwin-18.03-darwin, nixpkgs-darwin-18.03pre132835.e930c685d51-18.03pre132835.e930c685d51"` - channels(jasper): `"nixpkgs-18.03-darwin-18.03pre132835.e930c685
<LnL>
also you need to run nix-channel --update after removing a channel, otherwise the change won't be applied yet
<LnL>
nix-channel --remove only changes metadata
<Jasper__>
Looks like my problem (at least one of them) was that I didn't pass a second argument to `nix-channel --add <url> <name>`. After adding a channel with a name to my local user `nix-env` worked again, but `nix-shell` complained it couldn't find nixpkgs. After also adding the channel with a name for my root user `nix-shell` works again too, but now `nix-env -qa stack` gives the name collision warning.
<LnL>
the default NIX_PATH doesn't look at user channels
<LnL>
only nix-env does
<Jasper__>
Ah, ok. Will try to just remove the user channels then and only use the root ones. Thank you for your help!
<LnL>
using something like that will make nix look at your local user channels instead
<LnL>
but yeah, I'd use one or the other to avoid confusion
<Jasper__>
Cool, thanks! Seems to work now.
Jasper__ has quit [Quit: Page closed]
mmercier has quit [Ping timeout: 264 seconds]
mmercier has joined #nix-darwin
philr has joined #nix-darwin
mmercier has quit [Quit: mmercier]
Sonarpulse has joined #nix-darwin
mmercier has joined #nix-darwin
mmercier has quit [Ping timeout: 248 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
Sonarpulse has quit [Ping timeout: 240 seconds]
<johnw>
my biggest grip with modern GUI software: young developers who inflexibly design their app around their own visual capabilities
<johnw>
yeah, I get it, you can read grey on grey 6pt fonts
Sonarpulse has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
philr has quit [Ping timeout: 240 seconds]
<pikajude>
ouch, my eyes
<pikajude>
johnw: that's why i use CSS frameworks nowadays
<pikajude>
i used to have severe not-invented-here syndrome
<pikajude>
but at least with a CSS framework that ten billion people use there's a certain guarantee that some percentage of the population can actually read your text
<johnw>
nice
<johnw>
I like the idea behind GitUp, but since I can't even read the branch names, what's the point of it
<pikajude>
just squint REALLY hard
<johnw>
that doesn't work anymore
<pikajude>
unlucky
<johnw>
just natural
<pikajude>
time to go find out what gitup is
<pikajude>
"The Git interface you've been missing all your life has finally arrived."
<pikajude>
has it really
<pikajude>
ah i appreciate the problem now
<pikajude>
not only is it unreadable, you can't customize it with a userscript
<pikajude>
i thought this was going to be a web interface
<LnL>
euh, it's a ui...
<pikajude>
it's also a really disgusting UI
<pikajude>
historically the standard for UIs in macos apps has been incredibly high
<pikajude>
that's disappointing
<pikajude>
if i wanted to use something this ugly i'd have nixos on my home laptop
<LnL>
and the video assumes just rewriting history is fine
<pikajude>
i mean really, who works on projects with other people
<LnL>
I know right
jtojnar has quit [Ping timeout: 240 seconds]
alexteves has quit [Remote host closed the connection]