nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
314 stars 101 forks source link

Terminfo issues #29

Closed nixy closed 6 years ago

nixy commented 6 years ago

Due to Issue #34364 going on over in NixOS/Nixpkgs land the image currently on vagrant cloud has very annoying terminfo issues.

This isn't really this project's issue but I thought I would open this for tracking (as a new box should probably be pushed once this is resolved). I also thought I would offer an easy mitigation.

The workaround (discovered by @ttamttam) is very easily implemented in a Vagrantfile.

Just add a shell provisioner like so:

config.vm.provision :shell, path: "ncurses-fix.sh"

And add the following as ncurses-fix.sh

#!/usr/bin/env 
sudo nix-store --repair-path /nix/store/*ncurses*
nixos-rebuild switch
zimbatm commented 6 years ago

thanks for the report. once it's fixed upstream I am happy to rebuild the image.

nixy commented 6 years ago

This was effectively resolved with the 18.03 release.