rio: Restrict test execution inside nixosTests for Linux devices (#345722)

This commit is contained in:
Mathew Polzin 2024-10-05 08:32:48 -05:00 committed by GitHub
commit bb1e5d86c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,8 +112,13 @@ rustPlatform.buildRustPackage rec {
};
tests = {
test = nixosTests.terminal-emulators.rio;
version = testers.testVersion { package = rio; };
} // lib.optionalAttrs stdenv.buildPlatform.isLinux {
# FIXME: Restrict test execution inside nixosTests for Linux devices as ofborg
# 'passthru.tests' nixosTests are failing on Darwin architectures.
#
# Ref: https://github.com/NixOS/nixpkgs/issues/345825
test = nixosTests.terminal-emulators.rio;
};
};