philr has joined #nix-darwin
johnw has quit [Read error: Connection reset by peer]
johnw has joined #nix-darwin
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 248 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
hamishmack has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Quit: WeeChat 2.1]
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 260 seconds]
<nikivi> when you guys go into nix-shell, do you keep your aliases and functions you defined?
<nikivi> I know I can use `nix-shell --command zsh -p` to load into zsh but since I use Pure prompt theme I don't know now whether I am in nix-shell or normal env
<nikivi> And I can't use shell without my aliases/functions
<LnL> aliases probably only get loaded in a login shell
<LnL> try --command 'zsh -l'
hamishmack has joined #nix-darwin
<nikivi> Seems like a reasonable solution
<LnL> that breaks shell hooks and using nix-shell to reproduce a builds
<nikivi> So then if I want to use zsh inside nix-shell, the alias 'nix-shell -p --command zsh -l' is the way to go?
<nikivi> Or you guys just don't use zsh inside nix-shell?
<cransom> i use direnv with `use nix` to select the toolset based on my directory. it manages variables (but not aliases/functions, i use a `bin/` dir) but the shell itself doesn't change
<nikivi> my current python3 installation is located here: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3
<nikivi> Is it safe to remove it and install it with Nix?
<nikivi> There is a bunch of other stuff in /Library/Frameworks/Python.framework/Versions/3.6/bin/ too
<cransom> i'd hesitate to touch any files in /library as osx may only be looking in that area for needed files.
<nikivi> It's strange also but /Library/Frameworks/Python.framework/Versions/3.6/bin is in my $PATH but I don't add it to the PATH excplitly anywhere
<cransom> i don't think of nix integration on darwin being a replacement for any thing that mac os provides, just an alternative
<nikivi> so installing python3 from nix is pointless
<nikivi> I just installed it and `which python3 -> /Library/Frameworks/Python.framework/Versions/3.6/bin/python3`
<nikivi> Can someone help resolve these 2 errors please: https://hastebin.com/ukopovidov
<cransom> installing it just to have is likely pointless. if you are doing development or supporting something custom that you wanted to roll out with nix would not be pointless
<cransom> they aren't errors, just warnings. if they bother you, nix-channel --list and nix-channel --remove all of them from your root user.
<nikivi> If I `nix-channel --remove all`
<nikivi> I won't be able to install packages?
<nikivi> I thought Nix installs from various channels
<cransom> installed channels are per user.
<nikivi> darwin https://github.com/LnL7/nix-darwin/archive/master.tar.gz is the only channel that is returned
<nikivi> I don't see any collisions
jtojnar has quit [Remote host closed the connection]
<nikivi> Or the user channel collides with some global channel
<cransom> you have the same channels in your own user as the root user, those are the source of the conflict.
<nikivi> sudo -i nix-channel --list -> nixpkgs https://nixos.org/channels/nixpkgs-unstable
<nikivi> they are not the same. Or I am missing something
<LnL> did you run nix-channel --update for both?
<nikivi> LnL that solved it, thanks
<nikivi> I am curious what the relation between sudo -i and normal nix invoations is
<nikivi> invocations*
<nikivi> I assume one is responsible for user-land and other for system wide stuff
<LnL> yeah, I personally just only use user channels
<nikivi> Does anyone else have `/Library/Frameworks/Python.framework/Versions/3.6/bin` in their $PATH?
<nikivi> I am trying to find where from it is being added and can't
<LnL> no, do you see it in /usr/libexec/path_helper -s?
<nikivi> I do yes LnL
<nikivi> not familiar with this tool, can I remove it from there?
<nikivi> I just realised that -s just posts the $PATH. I used `echo $PATH` for that but it's the same thing it seems
<nikivi> But yeah the path is there but I can't figure out where it is being added from
peacememories has joined #nix-darwin
contrapumpkin has joined #nix-darwin
philr has joined #nix-darwin
<LnL> it's what initializes the 'default' PATH
<LnL> not sure either how extra entries end up in there
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexteves_ has joined #nix-darwin
contrapumpkin has quit [Remote host closed the connection]
Sonarpulse has joined #nix-darwin
pxc1 has joined #nix-darwin
periklis has joined #nix-darwin
periklis has quit [Ping timeout: 245 seconds]
philr has quit [Ping timeout: 260 seconds]
jtojnar has joined #nix-darwin
<dtz> err so apparently 'git' is failing on staging? (https://github.com/NixOS/nixpkgs/pull/40888#issuecomment-390769312) is that blocking a bunch of stuff...? If so might want to just disable those tests on at least darwin.... (or fix if able, but dunno)
<dtz> (since I was partly involved in enabling such tests, thought I'd ask. I... am surprised if they failed from the beginning, though...? :( )
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 245 seconds]
jtojnar_ is now known as jtojnar
jtojnar has quit [Ping timeout: 252 seconds]
<eacameron> LnL: How does nix-darwin's lnl7/nix:ssh differ from the others? I have noticed I can't ssh into the others. Do we need an ssh one for nix 2?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
<LnL> there's no special difference with the other images
<LnL> the different types are generated, but I commit them so it's all in git
hamishmack has joined #nix-darwin
<eacameron> LnL: Sorry for the noise. I finally realized that it was there and just built it myself
<eacameron> Even though I can ssh into this thing I can't for the life of me convince --builders to connect
<eacameron> unable to open SSH connection to 'ssh://nix-docker-build-slave': cannot connect to 'nix-docker-build-slave'; trying other available machines..
<eacameron> yet `ssh nix-docker-build-slave` works fine
<eacameron> and `nix store-ping` comes back without any errors
alexteves_ has quit [Ping timeout: 260 seconds]
pxc1 has quit [Ping timeout: 252 seconds]