pxc has quit [Ping timeout: 256 seconds]
pxc has joined #nix-darwin
pxc has quit [Ping timeout: 260 seconds]
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 252 seconds]
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 248 seconds]
jtojnar has joined #nix-darwin
zzamboni has joined #nix-darwin
jtojnar has quit [Ping timeout: 256 seconds]
pjan has quit [Remote host closed the connection]
zzamboni has quit [Quit: Leaving.]
pjan has joined #nix-darwin
zzamboni has joined #nix-darwin
jtojnar has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 260 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 240 seconds]
peacememories has joined #nix-darwin
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 252 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 248 seconds]
zzamboni has joined #nix-darwin
sphalerite has quit [Ping timeout: 276 seconds]
sphalerite_ has joined #nix-darwin
Lisanna_ has quit [Quit: Lisanna_]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lisanna has joined #nix-darwin
peacememories has joined #nix-darwin
Lisanna has quit [Ping timeout: 240 seconds]
Lisanna has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
Lisanna has joined #nix-darwin
<dtz> https://github.com/NixOS/nixpkgs/issues/35677 someone have a few to fix this?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
Lisanna has quit [Ping timeout: 268 seconds]
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thefloweringash has joined #nix-darwin
<thefloweringash> (joining directly, since I really don't trust matrix yet)
<thefloweringash> when running the configure outside of nix, I see the target as x86_64-apple-darwin17.4.0, but inside nix-shell as configurePhase, it's x86_64-apple-darwin
zzamboni has quit [Quit: Leaving.]
<thefloweringash> The configure script checks for the shell glob on target: x86_64-*-darwin[912]*, which doesn't match without the number. It hits the fallback darwin case, which disables gdb itself.
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Remote host closed the connection]
sphalerite_ is now known as sphalerite
<cbarrett> huh
<cbarrett> Rama:~ cbarrett$ nix-repl
<cbarrett> Welcome to Nix version 1.11.16. Type :? for help.
<cbarrett> Welcome to Nix version 2.0. Type :? for help.
<cbarrett> Rama:~ cbarrett$ nix repl
<cbarrett> nix-repl>
<cbarrett> nix-repl>
<cbarrett> ah
<cbarrett> I had pkgs.nix-repl enabled in darwin-config
<cbarrett> I wonder why I'm getting `warning: unknown setting 'signed-binary-caches'` though
zzamboni has joined #nix-darwin
sonarpulse has joined #nix-darwin
<johnw> is your nix-daemon still 1.11?
<cbarrett> It's possible, but I just installed Nix on this machine today, I think for the first time.
<johnw> I get those error initially too, until I rebuild nix-darwin
<johnw> i don't know when the actual nix installer will upgrade to 2.0
<cbarrett> maybe I have to restart the nix daemon
<johnw> also, make sure that /etc/nix/nix.conf is being regenerated by nix-darwin
<johnw> it won't overwrite an old one put into place by the installer
<johnw> until you delete it, and nix-darwin rebuild
<cbarrett> lrwxr-xr-x 1 root wheel 24 Mar 6 10:28 /etc/nix/nix.conf -> /etc/static/nix/nix.conf
<cbarrett> I think that's correct?
<johnw> where does the target point?
<johnw> i mean, it looks right
kaychaks has joined #nix-darwin
<cbarrett> the contents look like a nix-darwin thing
<johnw> but it shouldn't have signed-binary-caches in it
<kaychaks> how to skip tests while installing `nixpkgs.python3Packages.jupyterlab` in OS X ? It's failing in to install while running tests
<kaychaks> how to skip tests while installing `nixpkgs.python3Packages.jupyterlab` in OS X ? It's failing to install while running tests
<johnw> kaychaks: you'll need to override it
<LnL> cbarrett: did you set services.nix-daemon.enable?
<cbarrett> services.nix-daemon.enable = true;
<cbarrett> looks right
<LnL> and nix.package?
<cbarrett> don't have that one
<LnL> yeah, then the 2.0 condition won't work because there's no drv
<cbarrett> not following, "condition"? "drv"?
<LnL> I'm planning to change the defaults when 18.03 is released
<cbarrett> I just installed nix on this machine, it gave me nix 2.0
<LnL> by default whatever is installed in the default profile will be used
<cbarrett> hm
<cbarrett> I'm still a bit lost, but what should I set it to?
<LnL> but I can't check what version that is inside nix expressions
<kaychaks> johnw:
<kaychaks> johnw: you mean override in config.nix
<kaychaks> ?
<LnL> cbarrett: nix.package = pkgs.nix; or nix.package = pkgs.nixUnstable;
peacememories has joined #nix-darwin
<cbarrett> I think I'm using nixUnstable
<cbarrett> Although i'm not entirely sure of the difference
<cbarrett> yay no more errors
<johnw> kaychaks: I'm sorry, I don't have time now to go further; it may have to be different due to this being a Python package, I'm not as familiar with those
<LnL> it used to be 1.11 vs 1.12pre, not sure how recent unstable is now
<johnw> I'm now on 2.0pre5968_a6c0b773
<johnw> and I don't have nix-repl installed
<kaychaks> johnw: no problem. yes this is particular to python packages which am also not sure how to deal. also this might be a nix 2 thing. I will see if it behaves properly in 1.x
<ldlework> I just had a horrifying thought
zzamboni has quit [Quit: Leaving.]
<ldlework> What if I used home-manager's activation scripts to build a system for getting things installed from brew
<ldlework> lmao
<ldlework> for things where Nix support on Darwin is just not there
<ldlework> like dotnet core
<ldlework> I'm sorry, I'll go repent now
<ldlework> johnw have you ever messed around with F# or Haskell?
sonarpulse has quit [Ping timeout: 240 seconds]
<johnw> ldlework: with Haskell, yes lots
<johnw> (he says, as he writes code in Haskell in another window)
rupert has joined #nix-darwin
<rupert> Hey all
<johnw> hi rupert
<rupert> One of my devs is running OSX and Nix 2.0 and we're trying to get NixOps working for them
<johnw> ah, I've still never used NixOps
<johnw> but LnL has, and copumpkin
<rupert> Ah yes, I've seen there names around a lot on GitHub issues
<rupert> We set up a VM using docker
<rupert> And this script
<rupert> And the running
<rupert> nix ping-store ssh://nix-docker
<rupert> Doesn't give an error - does that mean it worked?
<rupert> In any case the following didn't work:
<rupert> $ nix build \
<rupert> > '(with import <nixpkgs> { system = "x86_64-linux"; }; runCommand "foo" {} "uname > $out")' \
<rupert> > --builders 'ssh://nix-docker x86_64-linux'
<rupert> [1 copied (0.0 MiB), 0.0 MiB DL]
<rupert> error: a 'x86_64-linux' is required to build '/nix/store/ccgj29mvvafm36iymnihf5spc11znvqs-foo.drv', but I am a 'x86_64-darwin'
<rupert> I know one had to set NIX_BUILD_HOOK, NIX_REMOTE_SYSTEMS, and NIX_CURRENT_LOAD before, but that didn't seem to help (and build-remote.pl is gone now anyway)
<LnL> I have very little experience with nixops, but I know a few things about distributed builds :D
* LnL looks for a gist...
<rupert> Great! Well hopefully the nixops problem is really just a distributed builds problem :)
<rupert> It gives the same a linux is required but im a darwin message!
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonarpulse has joined #nix-darwin
<rupert> Thanks
<rupert> Do you know how much of it is relevant to Nix 2.0
<LnL> everything
<rupert> What about the NIX_BUILD_HOOK?
<rupert> The build-remote.pl script appears to be missing now?
<LnL> ah yeah, it's just build-remote
<LnL> but I think NIX_BUILD_HOOK was removed in 2.0 so you might not even need that
peacememories has joined #nix-darwin
<LnL> also if you don't want to mess with the service yourself you can use https://github.com/LnL7/nix-darwin
<rupert> Thanks
<rupert> I'm getting them to test it out now
<rupert> How can I get the machine to go into known hosts for root?
<rupert> Will sudo nix ping-store --store ssh://machine do it?
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
stqism has joined #nix-darwin
<LnL> sudo -i ssh machine will give you a promt
<rupert> Was just trying that ;)
<LnL> I'm going to port the nixos knownHosts module to nix-darwin son :)
<LnL> soon*
<rupert> So I need to add the host to /root/.ssh/config?
<rupert> I just looked at nix-darwin - great work, that looks awesome :)
<johnw> I can't imagine being without nix-darwin now :)
<rupert> If I still had a Mac I'd be so on it!
<johnw> what do you haev now?
sonarpulse has quit [Ping timeout: 256 seconds]
<rupert> Running a Dell XPS 15 (4K) with NixOS :)
<johnw> that's a nice setup too
<johnw> i'm thinking seriously of going non-Mac for my next machine
<johnw> i'm just waiting to see what comes out first: the new Mac Pro, or 8th gen Core i9
<rupert> Mac Pro as in desktop?
<johnw> yes
<johnw> my Mac Pro now has a logic board failure, so all it's good for is Netflix
<johnw> oh, and Diablo
<rupert> Haha an overpowered apple tv ;)
<johnw> yeah, seriously
<rupert> Sorry to hear that though
<johnw> i can't even use it as a monitor for my laptop, which is terrible since it's such a beautiful display
<johnw> so I'm back to my old 24" Dell with a dent in the center from a bad packing job during the move (my fault though!)
<rupert> :(
thefloweringash has quit [Ping timeout: 260 seconds]
<rupert> Hmm it looks like /root/.ssh/config is not the place to put the hosts
<rupert> Any ideas where to configure root's ssh?
<cbarrett> johnw: :(
<rupert> Apparently root's home is /var/root on OSX
sonarpulse has joined #nix-darwin
<rupert> Phew, thanks @LnL the nix-build is working remotely now at least
<rupert> Now to check on NixOps
Lisanna has joined #nix-darwin
zzamboni has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar_ is now known as jtojnar
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
<rupert> So NixOps seems to be building things fine
<rupert> But there's this weird error when trying to deploy to a VM
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rupert> Keep getting "error: string index out of range"
<rupert> This doesn't seem to happen on NixOS
<pikajude> damn
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
sonarpulse has quit [Remote host closed the connection]
<rupert> Look like that problem is fixed in a newer version of nixops
<rupert> So no problems
rupert has quit [Quit: WeeChat 2.0]
qmm has quit [Remote host closed the connection]
sonarpulse has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
contrapumpkin has quit [Quit: Textual IRC Client: www.textualapp.com]
mankyKitty has quit [Read error: Connection reset by peer]
mankyKitty has joined #nix-darwin
cbarrett has quit [Ping timeout: 240 seconds]
kaychaks has quit [Read error: Connection reset by peer]
kaychaks has joined #nix-darwin
cbarrett has joined #nix-darwin
cstrahan has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
pxc1 has joined #nix-darwin
pxc1 has quit [Client Quit]
pxc has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
contrapumpkin has joined #nix-darwin
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 252 seconds]
jtojnar_ is now known as jtojnar
zzamboni has quit [Quit: Leaving.]
mankyKitty has left #nix-darwin [#nix-darwin]
<elvishjerricco> About bash completion:
<elvishjerricco> > NOTE. This doesn't work with bash 3.2, which is the default on macOS.
<elvishjerricco> How do I upgrade it with nix-darwin?
<LnL> change your default shell to /run/current-system/sw/bin/bash