Omnix fails to parse `nix --version`
Omnix started failing to parse my server's Nix version:
```
✍️ Overwriting server "build-cache"
👟 Reading [om.ci](http://om.ci/) config from flake
❄️ nix eval --json '.#om' --quiet --quiet️
👟 Gathering NixInfo
❄️ nix --version️
Error: Unable to gather nix info
Caused by:
0: Nix command error: Failed to decode command stdout (from_str error): Failed to parse string: Parse error (int): `nix --version` cannot be parsed
1: Failed to decode command stdout (from_str error): Failed to parse string: Parse error (int): `nix --version` cannot be parsed
2: Failed to parse string: Parse error (int): `nix --version` cannot be parsed
```
My Nix version is:
```
# nix --version
nix (Nix) 2.31.2+1
```
Perhaps it's failing on the `+1`? This server is running Nixpkgs unstable
6 条评论