_0mp changed the topic of #freebsd-nix to: Adding Nix to FreeBSD ports | https://github.com/0mp/freebsd-ports-nix | https://logs.nix.samueldr.com/freebsd-nix
_xor has quit [Quit: WeeChat 3.0.1]
_xor has joined #freebsd-nix
<Mic92> it is also helpful to set NIX_DEBUG=1 in derivations
<Mic92> Than the cc wrapper will print a lot lot more stuff
<Mic92> On linux I sometimes use sysdig -c stderr or execsnoop to get all programs executed.
<Mic92> In freebsd there might be an aquivalent using dtrace.
koobs has joined #freebsd-nix
abbe has quit [Read error: Connection reset by peer]
abbe has joined #freebsd-nix
<drakonis> oh good, freebsd is back on nixpkgs
_0mp has joined #freebsd-nix
<qyliss> drakonis: still quite broken though
<qyliss> _0mp just committed my Nix patch to ports :)
<_0mp> oh hi qyliss :)
<qyliss> hi :)
<_0mp> I forgot to rejoin the channel
<qyliss> oh! you've missed a lot!
<_0mp> oh no!
<qyliss> I've been working on FreeBSD Nix things for the past few days
<qyliss> good thing the channel is logged :)
<_0mp> Yes, I'll probably take a look at the logs soonish
<_0mp> regarding hacking on freebsd nix: wonderful! how is it going?
<qyliss> We can build simple C programs in Nixpkgs now, but C++ is broken
<_0mp> no way
<_0mp> increadible
<qyliss> all I really did was merge the PR that was opened by somebody else a year ago
<qyliss> (as well as fixing NIx)
<_0mp> oh, regarding "sysdig -c stderr or execsnoop", Mic92
<qyliss> fixing C++ is going to be tricky, and possibly require a policy discussion.
<_0mp> dwatch may be the kind of wrapper for dtrace you are looking for
<_0mp> anyway, let me know if you have any other patches for me to merge into the port (or fixes for that one faliing/hanging test). :)
<qyliss> _0mp: out of curiosity, how long does it take until a new binary package is available?
<qyliss> (maybe it is already? I didn't check)
<_0mp> hmmm, I'd say about a day?
<qyliss> cool
<qyliss> looking forward to being able to tell people they can pkg install nix
<_0mp> https://www.freshports.org/sysutils/nix/ has a table of currently avaiable versions
<_0mp> and then perhaphs a particular package build can be tracked over here: https://pkg-status.freebsd.org/
<_0mp> Keep in mind that even when the version with your patch becomes avialable
<_0mp> it is only available on the "latest" branch of pkg
<_0mp> I've not backported it to our current quarterly branch 2021Q1
<qyliss> ah, okay
<_0mp> perhaphs I should. I'll do it this evening
_xor has quit [Ping timeout: 264 seconds]
_xor has joined #freebsd-nix
<abbe> i actually abandoned my stdenv work in favour of https://github.com/NixOS/nixpkgs/pull/82131
<_0mp> done, I MFH'ed that patch into the quarerly branch
<qyliss> nice :)
<_0mp> cheers :)
{`-`} has joined #freebsd-nix