_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
<abbe> hi
<abbe> wonder if there is an equivalent FreeBSD replacement for: if IFS='' read -r -N 0 $1; then
<abbe> i'm using this ugly hack: if IFS='' read -r -N 429496729 $1; then
<abbe> i wonder if it's bash4.4 thing
<abbe> sigh!
<abbe> it's bash4.4
<abbe> out -> /nix/store/sj5cx9fjapcq41nrbza56r8zf5irnn31-hello-2.10
<abbe> /nix/store/sj5cx9fjapcq41nrbza56r8zf5irnn31-hello-2.10/bin/hello: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.1, FreeBSD-style, with debug_info, not stripped
<abbe> but at least working now
<abbe> time to bootstrap its own bash
<abbe> it works!
<abbe> trying to build curl, and then off to bed.
<abbe> objective is to be able to bootstrap nix without involving FreeBSD ports
<abbe> only need FreeBSD ports now for building nix, maybe produce a statically linked nix binaries tarball
<abbe> _0mp: great work! thank you.
<abbe> it built, albeit with a caveat: https://pastebin.com/0b7cJeHF
<abbe> opened a PR in nixpkgs repository: https://git.io/Jv2qQ
<_0mp> hi, abbe
<_0mp> oh nice!
<_0mp> I don't have too much time to spend on the nix port, but if you figure out how to fix those two remaining failing tests, I'll be happy to just commit that port.