[Nix-dev] [Nix-commits] SVN commit: nix - r30481 - in nixpkgs/trunk/pkgs: development/tools/misc/gdb top-level

Shea Levy shea at shealevy.com
Sat Nov 19 21:05:44 CET 2011


Hi Ludo,

On 11/19/11 1:28 PM, Ludovic Courtès wrote:
> +  # Whether (cross-)building for GNU/Hurd.  This is an approximation since
> +  # having `stdenv ? cross' doesn't tell us if we're building `hostDrv' and
> +  # `buildDrv'.
> +  isGNU =
> +      stdenv.system == "i586-pc-gnu"
> +      || (stdenv ? cross&&  stdenv.cross.config == "i586-pc-gnu");
>   in
>

The logic you added to nix's autoconf for generating the system string 
gives "i686-gnu" for gnu/hurd, not "i586-pc-gnu". See the log for the 
latest crossGNU.nixUnstable.hostDrv build log[0] and search for 
"canonical Nix system name" for an example.

[0] http://hydra.nixos.org/build/1560245/log/raw

Cheers,
Shea


More information about the nix-dev mailing list