Sources are unpacked into a working directory under /tmp, and the build occurs in the same directory. The special $out variable corresponds to the Nix store path computed by Nix for the attributes of the derivation. Since this is an Autoconfᛦ package, we set the prefix to $out so that the builder will install the results into the store in the expected location.