alexteves has quit [Remote host closed the connection]
andreabedini has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
andreabedini has quit [Ping timeout: 244 seconds]
andreabedini has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nix-darwin
kamcma has joined #nix-darwin
kamcma has left #nix-darwin [#nix-darwin]
philr has quit [Ping timeout: 264 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FRidh has joined #nix-darwin
hamishmack has quit [Ping timeout: 240 seconds]
hamishmack has joined #nix-darwin
Lisanna has joined #nix-darwin
__Sander__ has joined #nix-darwin
__Sander__ has quit [Ping timeout: 256 seconds]
__Sander__ has joined #nix-darwin
philr has joined #nix-darwin
<dhess>
LnL: you around?
<LnL>
what's up?
<dhess>
Just got a new laptop, installed nix and nix-darwin. As far as I can tell my environment is identical on both but... when I try to `nix-env -i foo` on the new laptop, I get the warning, "warning: name collision in input Nix expressions, skipping '/users/dhess/.nix-defexpr/nixpkgs'"
<LnL>
you have nixpkgs as both a user and root channel
<dhess>
that's what I thought as well. How do I remove the root channel?
<dhess>
I thought I did but maybe I missed something
<LnL>
nix-channel --updat as root
<LnL>
after removing it
<dhess>
so now my ~root/.nix-channel is an empty file
<dhess>
and sudo -i nix-channel --list returns nothing
<dhess>
right?
<dhess>
ohhh
<dhess>
never mind, I fixed it. Thanks!
<dhess>
perfect now
<dhess>
I've probably said this before (last time this came up) but this really should be the default configuration on Darwin, anyway.
<LnL>
yeah you need --update to actually apply the remove
<dhess>
actually what I was missing was `sudo -i nix-channel --remove nixpkgs`
<dhess>
I never use channels (except for darwin) and so I never remember that bit
<dhess>
I just rm ~/.nix-channels and then touch ~/.nix-channels
the has joined #nix-darwin
the has quit [Changing host]
the has joined #nix-darwin
philr has quit [Ping timeout: 255 seconds]
__Sander__ has quit [Ping timeout: 276 seconds]
andreabedini has joined #nix-darwin
__Sander__ has joined #nix-darwin
FRidh has quit [Read error: Connection reset by peer]