When importing Nixpkgs within Nixpkgs, we should not consider aliases to ensure we don't rely on them internally. There are probably more places that need to be converted.
Thanks @blitz and @jtraue for help with implementing machine methods