>>> I assume you're referring to the kernel version returned by ‘uname -r’.
>>> Since ‘uname’ is also used outside of builders, this is not a good idea — it
>>> would change the behaviour that users expect from it.
>> We already have distinct bash in stdenv and user's environment.
>How so?

As I remember, stdenv bash has no ncurses. And user environment
usually gets bashInteractive

>Anyway, this would be breaking a feature of uname, namely that ‘uname -r’ 
>returns the kernel version.  Users would find it very surprising if they're 
>running a X.Y kernel and uname returns something different than X.Y.

Of course, stdenv will have unameFakeVersions and simle uname will work
as expected. 



_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to