jrolfs has quit [Quit: WeeChat 1.9.1]
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nix-darwin
hamishmack has quit [Ping timeout: 240 seconds]
hamishmack has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
glenn_ has joined #nix-darwin
zzamboni has joined #nix-darwin
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 256 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 246 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 268 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 256 seconds]
zzamboni has quit [Quit: Leaving.]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 256 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 256 seconds]
zzamboni has joined #nix-darwin
glenn_ has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
<nikivi> Where is .nix-profile located on darwin?
<nikivi> Oh it's in ~/
<nikivi> Those are symlinked to /nix/store though
<LnL> that should be a symlink to /nix/var/nix/profiles/...
<nikivi> For me its this
<LnL> what about readlink ~/.nix-profile
<nikivi> "/nix/var/nix/profiles/per-user/nikivi/profile"
<LnL> yeah, that's normal
<nikivi> What happens if I install a package that is already installed by brew
<nikivi> Which one gets used
<nikivi> I guess its what comes first in $PATH
<nikivi> but not sure
<LnL> indeed, don't know what ends up in PATH first
<nikivi> There is a lot of nix in my $PATH
<LnL> whoa!
glenn_ has quit [Ping timeout: 256 seconds]
glenn_ has joined #nix-darwin
szicari has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Read error: Connection timed out]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 246 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 265 seconds]
glenn_ has joined #nix-darwin
Sonarpulse has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
glenn_ has quit [Ping timeout: 256 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 252 seconds]
<nikivi> Who runs mac on a server though
<gchristensen> I guess I've been doing a lot of reading in to the tea leaves of what they're doing
<gchristensen> so who cares about mac server, but what does this mean for the direction of macos
<gchristensen> the # of devs I know _personally_ who work on Windows now is shocking! we'll need #nix-windows soon!
glenn_ has joined #nix-darwin
<cransom> i flirt with the possibility that my workstation goes back to windows. i'd have to play with the linux layer a bit more though first i guess.
glenn_ has quit [Ping timeout: 265 seconds]
glenn_ has joined #nix-darwin
zzamboni has joined #nix-darwin
<nikivi> What's wrong with mac though?
<nikivi> Aside from some questionable hardware decisions, I think macOS as OS is still amazing
<nikivi> Mostly due to no other OS having such high quality apps built specifically for mac
<nikivi> I haven't worked with windows in a long time though, maybe things changed a lot since then
<cransom> i don' tknow if windows is much better, but the mac os quality side took a heavy hit in 10.13. they are showing more interest in ios and the the mac os side seems to just be how you develop for ios now. i dont know if i'll switch back, but i'm curious.
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Ping timeout: 276 seconds]
glenn_ has joined #nix-darwin
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nix-darwin
zzamboni has joined #nix-darwin
<copumpkin> do we have a sensible plan for what to do with all those multi-user installs with org.nixos.nix-daemon.plist hardcoded to 1.11 when 1.12 gets released?
<copumpkin> I'm thinking the nix multi-user installer on macOS should create an almost meaningless "system" profile, like NixOS has
<copumpkin> nix-darwin can adopt it and use it too
<copumpkin> but the only thing that goes into it without nix-darwin is nix itself
<copumpkin> which can then be updated, and then the plist file refers to the system profile's nix-daemon
<copumpkin> oh I guess we already seem to have a "default" profile
<copumpkin> with nix and cacert in it
<copumpkin> that's probably all we need, for the plist file to point at that
<LnL> hmm, that's an interesting idea
<copumpkin> (then we get GC protection as well as upgradeability)
<copumpkin> (we'll still need some solution to fix the current plist though)
<copumpkin> LnL, gchristensen, niksnut : ^
* gchristensen hides
<LnL> alltho the current multi user stuff works fine with 1.12
<nikivi> Oh hey copumpkin
<LnL> you just have to reload it yourself
<nikivi> So your talk on nix last year online and it what got me interested in nix on mac
<copumpkin> LnL: except your daemon still points at 1.11 unless you repoint it
<copumpkin> nikivi: yay \o/
<nikivi> Still trying to integrate nix in my workflow
<LnL> the plist is a symlink to /nix/var/nix/profiles/default/...
<LnL> so it does if you reload/reboot
<nikivi> Have so many packages and things installed in brew already
<copumpkin> LnL: anyway, telling people to go wrangle a nasty nix path into a plist doesn't seem like the right way to keep their software up to date :)
<copumpkin> really??
<copumpkin> mine has a full path in it
<copumpkin> I wonder how that happened
<LnL> yeah that's what I'm saying
<copumpkin> hmm
<copumpkin> maybe I tried an earlier version of the installer. I don't even remember when I installed on this machine
<LnL> the plist has a full path, but it's the content of pkgs.nix
<copumpkin> in that case we're good
<LnL> if you upgrade the nix drv it changes
<copumpkin> I'm confused
<copumpkin> what changes it?
<LnL> nix-env -u changes the profile
<copumpkin> well so I'm saying my plist says
<copumpkin>
<copumpkin> <string>/nix/store/hwpp7kia2f0in5ns2hiw41q38k30jpj2-nix-1.11.16/bin/nix-daemon</string>
<LnL> yes
<LnL> readlink /Library/LaunchDaemons/org.nixos.nix-daemon.plist
<copumpkin> oh shit
<LnL> :)
<copumpkin> *mindblown.gif*
<copumpkin> okay, so disregard everything I just wrote
<gchristensen> yay!
* gchristensen comes out of hiding
<copumpkin> perhaps we should have some sandbox tests before we do that
zzamboni has quit [Quit: Leaving.]
glenn_ has quit [Ping timeout: 256 seconds]
<cransom> ahaha. `omg-so-brave`
<LnL> copumpkin: in the build I linked CoreServices is a dependency of doxygen not pngpp, but it doesn't end up in the sandbox profile
<LnL> I think there might be a conceptual issue with the way resolve-system-dependencies works when using substitutes
<LnL> but if we can fix that, yes!
<copumpkin> yeah, probably need to think through propagation in general
<copumpkin> I'
<copumpkin> ve wanted it to be native to nix for a while now
<copumpkin> because in nix-the-language we don't have complete information
<nikivi> Is nix language only used to describe packages and how they are built?
<contrapumpkin> yup
zzamboni has joined #nix-darwin
<LnL> can we get elf.h from somewhere?
zzamboni has quit [Quit: Leaving.]
<LnL> hmm no it's the current build
glenn_ has joined #nix-darwin
<Sonarpulse> LnL: what is this?
<Sonarpulse> we have some wrong gettext deps
<Sonarpulse> perhaps
<LnL> that doesn't really explain the missing header
<Sonarpulse> LnL: also a miscategorized dep
<Sonarpulse> is this cross mac -> linux?
<LnL> I was trying to give darwin->linux another try
<LnL> the make headers_install part that's failing now
<Sonarpulse> this is building kernel headers?
<Sonarpulse> yeah we had to make it not stdenvNoCC
<Sonarpulse> did you pull my branch?
<Sonarpulse> HOSTCC is not cc
<LnL> wasn't everything merged into master now?
<Sonarpulse> HOSTCC is CC_FOR_BUILD
<Sonarpulse> not these changes
<Sonarpulse> 1 sec
<Sonarpulse> / i have a branch with some unmerged things
<LnL> well there's only buildPackages.stdenv.cc in the environment
<LnL> unless I'm missing something
zzamboni has joined #nix-darwin
<Sonarpulse> LnL: yeah i recall realizing that in general we actually do need both?
<Sonarpulse> for like some configure test
<Sonarpulse> LnL: look at my darwin-to-linux
<LnL> oh, you've been working on that
<Sonarpulse> LnL: that was like before leaving munich though :)
<LnL> hmm, we got further then I remember
<Sonarpulse> :)
szicari has quit [Quit: szicari]
<Sonarpulse> LnL: any farther?
<Sonarpulse> we can merge that gcc change i think
<Sonarpulse> if we didn't already
<LnL> still building ghc
<LnL> err gcc
<Sonarpulse> LnL: mmm ok
<LnL> hmm
<LnL> still the header
glenn_ has quit [Ping timeout: 265 seconds]
<Sonarpulse> LnL: got log?
<Sonarpulse> yeah it wasn't finished
<nikivi> What is nix command to search packages again?
<nikivi> For example I want to see if libxcb is available in nix
<LnL> nix-env -qaP \*
<LnL> or nix-index if you want to search by the binary name
parenthetical has quit [Quit: WeeChat 1.4]
<nikivi> So `nix-env -qaP \*libxcb`?
<Sonarpulse> ln back
<Sonarpulse> LnL: *
<Sonarpulse> LnL: looks pretty good to me!
<Sonarpulse> note that actually I just removed withTLS
<Sonarpulse> so one less bullshit
<LnL> oh
<mitchty> nikivi: like this nix-env -qaP '.*libxcb.*'
<LnL> Sonarpulse: this in interesting, there's no elf.h in tools/include https://gist.github.com/LnL7/8d1cbc354f20f7977e430f1d72a6729c
<nikivi> nix-env -qaP '.*nvim*'
<Sonarpulse> LnL: looking
<nikivi> Shouldn't this work for nvim?
<nikivi> I get 0 matches for it for actual `nvim`
<nikivi> But brew has it
<Sonarpulse> LnL: its in <...> so its supposed to come from elsewhere
<LnL> well you won't find it it libc++ either :p
<mitchty> nikivi: neovim you mean?
<nikivi> Yeah
<mitchty> search for neovim :)
<nikivi> The command itself is nvim
<LnL> nix-env searches by name only
<LnL> that's also in nixpkgs, nix-env -f '<nixpkgs>' -iA nix-index
<nikivi> I am curious why such odd install instructions
<nikivi> clone it, and then run some command
<nikivi> Why not package it and make it one command
<nikivi> nix-env -if.
<LnL> maybe the instructions are from before it was added to nixpkgs
<mitchty> yep can just nix-shell -p nix-index
<nikivi> What's equivalent of `brew info nvim` in nix?
<nikivi> Also I have a problem where zsh doesn't seem to autocomplete `nix-shell`
<nikivi> i.e. I type `nix-s` and press tab and get error beep and nothing happens
<nikivi> It autocompletes all other commands I think
<nikivi> Oh nvm, I think it does work after all
<LnL> the nix-zsh-completions is pretty insane
<johnw> LnL: oh wow, it is
<LnL> nix-shell -p <tab>
<johnw> LnL: now I want fzf completion support for it
<Sonarpulse> LnL: it seems to be confused about cross
<Sonarpulse> it should be ""
<Sonarpulse> or it should not assume build platform uses elf
<Sonarpulse> I'd think
<Sonarpulse> cause there is an elf somewhere around there?