NVidia compilation reported the lack of /dev/tty when installing a fresh system from the graphical iso.

A way to solve the problem for me was to run:

nix-build /etc/nixos/nixpkgs -A linuxPackages_2_6_38.nvidia_x11

where 2.6.38 is my default kernel. This compiles NVidia driver with the same hash and it is then copied during the next nixos-install.

TODO: Check if /dev/tty is present under the chroot (after the bind mount), and fix it if necessary. Otherwise investigate why NVidia does not build during the first nixos-install.

Submitted by Nicolas Pierron on 31 August 2011 at 19:09

Log in to post comments