1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 11:19:47 +01:00
home-manager/tests/modules/programs/i3status-rust/with-version-0311.nix
amesgen 6fc82e5697
i3status-rust: revert #3938 (#3957)
* Revert "i3status-rust: satisfy new 0.31 TOML output requirements (#3938)"

This reverts commit 0e4c33d760.

* i3status-rust: assertion for unsupported versions
2023-05-07 13:42:55 +02:00

13 lines
307 B
Nix

{ config, lib, pkgs, ... }:
{
config = {
programs.i3status-rust = { enable = true; };
test.stubs.i3status-rust = { version = "0.31.1"; };
test.asserts.assertions.expected = [
"Only i3status-rust <0.31.0 or 0.31.2 is supported due to a config format incompatibility."
];
};
}