forked from mirrors/nixpkgs
bc4e159d0e
The file contents were taken as a file path. This resulted in a system with a totally broken /etc: lrwxrwxrwx 1 root nixbld 51 22 feb 21:45 bashrc -> /nix/store/gh71a6w50cxrl4124kxfn24yi0b7aaka-useradd lrwxrwxrwx 1 root nixbld 44 22 feb 21:45 nix.conf -> 192.168.1.4(rw,no_root_squash,no_all_squash) lrwxrwxrwx 1 root nixbld 58 22 feb 21:45 inputrc -> /nix/store/1czhdj7q74dc556frqrh51jyshfsxhl3-bashrc-user.sh lrwxrwxrwx 1 root nixbld 51 22 feb 21:45 nsswitch.conf -> /nix/store/qsgsli992hd1g8245d8am9izn9xmw90x-inputrc lrwxrwxrwx 1 root nixbld 20 22 feb 21:45 exports -> /home/sheevaplugroot Notice that the inputrc has strange contents. In my case, that disabled me to type 's' or 'i' (at least) in any new interactive shell. If you notice, the 'exports' symlink should point to a store file, which contents had to look like: /home/sheevaplugroot 192.168.1.4(rw,no_root_squash,no_all_squash) This patch achieves this later behaviour rather than the former. svn path=/nixos/trunk/; revision=20181 |
||
---|---|---|
.. | ||
config | ||
hardware | ||
installer | ||
misc | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |