NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.87k stars 364 forks source link

nixops check reporting wrong results #1454

Open greaka opened 3 years ago

greaka commented 3 years ago

nixops check wrongly reports that my home.mount and tmp.mount are faulty.

This can be traced back to the following lines: https://github.com/NixOS/nixops/blob/45256745cef246dabe1ae8a7d109988f190cd7ef/nixops/backends/__init__.py#L248-L255 The exception doesn't trigger, even though I don't have any of those 2 in the fstab. Additionally, it would be faulty anyway in case of home.mount.

roberth commented 2 years ago

Which commit of NixOps are you using? This seems to be a regression of #1435 if it's recent.

greaka commented 2 years ago

nixops --version returns

NixOps 1.7

The full store path is /nix/store/1pjivnh741zj7j30nc0qs9dyhhsfwxwv-nixops-1.7/bin/nixops which I think should be the latest tag