Fix Bad message build with Nix
After making some config changes, I ran nixos-rebuild switch ... as usual. And got a strange error: error: getting status of '/nix/store/8a1xkznaqzq3a3dgh2q7farm7b7rdk28-source/modules/plugins/mini/diff/default.nix': Bad message ┏━ 1 Errors: ┃ <snip> ┃ error: getting status of '/nix/store/8a1xkznaqzq3a3dgh2q7farm7b7rdk28-source/modules/plugins/mini/diff/default.nix'… ┣━━━ ┗━ ∑ ⚠ Exited with 1 errors reported by nix at 19:23:15 after 3s Error: 0: Failed to build configuration 1: Command exited with status Exited(1) Bad message? After searching online, it seems like a file system issue. Let’s check dmesg: ...