`deploy-to-nixos` Grub issue
AronNovak opened this issue · comments
After a series of successful deployments, I got this while doing deploy-to-nixos qa-server
:
Shared connection to ec2-111-111-111-111.compute-1.amazonaws.com. closed.
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/xvda...
Installing for i386-pc platform.
/nix/store/rflv7474psa19pqsnv940l23a70a7rq5-grub-2.12/sbin/grub-install: error: cannot find a GRUB drive for /dev/xvda. Check your device.map.
/nix/store/jbij3r324xraik58v2cv2fzfkflsgjxp-install-grub.pl: installation of GRUB on /dev/xvda failed: Inappropriate ioctl for device
As in the flake.nix
, we do not customize anything related to Grub, it might be some of the dependencies in the background for NixOS.
@mpscholten we are running our app on IHP latest master
, so I suspect it's related to the GHC upgrade?
Yes, very likely caused by the new nixpkgs version. I'll try to fix this soon. As a workaround you could use an older IHP commit to run the app
Thanks, for now we downgraded IHP
{
inputs = {
- ihp.url = "github:digitallyinduced/ihp";
+ ihp.url = "github:digitallyinduced/ihp/f7f7f4ee9019078ab5d243db30c1381afa88bf1c";
Any updates on this one?
Not yet, @AronNovak is going to try to re-deploy, once he has some time. We'll update :)