Fix backward compatibility with Nix < 1.6

"with" used to be less lazy, so don't rely on that.  Also don't use
the "<" operator.