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>
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`
<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
<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