_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
koobs has joined #freebsd-nix
thefloweringash has quit [Quit: killed]
dtz11 has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
dtz has joined #freebsd-nix
Ox4A6F has joined #freebsd-nix
thefloweringash has joined #freebsd-nix
<abbe> figured it out
<abbe> _0mp: ${REINPLACE_CMD} -e 's| date | ${LOCALBASE}/bin/gdate |g' ${WRKSRC}/tests/check.nix <<< in "pre-test" target
<_0mp> abbe no way!
<abbe> _0mp: check.nix uses date +%N which in GNU means nanoseconds
<abbe> in BSD date it just outputs %N
<abbe> so unless you introduce a difference of 1s between nix-build check.nix and nix-build check.nix --check runs
<abbe> that's it
<abbe> going to sleep, thanks in advance for committing.
<_0mp> cheers!