1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 00:59:44 +01:00
home-manager/tests/modules/programs/i3status-rust/with-version-0311.nix

14 lines
307 B
Nix
Raw Normal View History

{ 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."
];
};
}