I see this guide but it seems to say the technique doesn’t work for multi-user installations, which is currently all that’s supported for macOS.
Working through the aforementioned guide (and making some corrections for deprecated calls like stdenv.lib), I wasn’t able to get it working on my machine and want to know if anybody else has had better luck with this or another method.