On 11/19/2011 11:36 PM, Ludovic Courtès wrote: > Out of curiosity, where did you get “amd64”? GNU config.guess always > returns “x86_64”: > <http://git.savannah.gnu.org/cgit/config.git/tree/config.sub#n466>.
Apparently not on FreeBSD: [nix@beastie ~/nix-1.0pre30457]$ ./config/config.guess amd64-unknown-freebsd8.2 >> @@ -25,6 +27,9 @@ >> linux-gnu*) >> # For backward compatibility, strip the `-gnu' part. >> system="$machine_name-linux";; >> + freebsd*) >> + # Strip the version number (e.g. freebsd8.2). >> + system="$machine_name-freebsd";; >> *) >> # Strip the version number from names such as `gnu0.3', >> # `darwin10.2.0', etc. > > The FreeBSD case is handled right below, isn’t it? Thanks, I didn't see that. The default case didn't work because FreeBSD's sed doesn't support the "+" operator. -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev