[Nix-dev] [Nix-commits] SVN commit: nix - r30503 - nix/trunk

Shea Levy shea at shealevy.com
Mon Nov 21 16:26:01 CET 2011


Hi Eelco,

Eelco Dolstra <e.dolstra at tudelft.nl> wrote:

>Author: eelco
>Date: Mon Nov 21 12:23:48 2011
>New Revision: 30503
>URL: https://nixos.org/websvn/nix/?rev=30503&sc=1
>
>Log:
>* Put back the "sys_name" variable which got removed somewhere.  This
>  broke building on Cygwin and Solaris.
>
>Modified:
>   nix/trunk/configure.ac
>
>Modified: nix/trunk/configure.ac
>==============================================================================
>--- nix/trunk/configure.ac	Mon Nov 21 12:18:26 2011	(r30502)
>+++ nix/trunk/configure.ac	Mon Nov 21 12:23:48 2011	(r30503)
>@@ -33,6 +33,14 @@
>	system="$machine_name-`echo $host_os | "$SED"
>-e's/@<:@0-9.@:>@*$//g'`";;
>    esac])
> 
>+sys_name=$(uname -s | tr 'A-Z ' 'a-z_')
>

Is sys_name a property of the build platform or the host platform? If the latter, won't using uname here potentially break cross-compiling?


More information about the nix-dev mailing list