mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
rio: Restrict test execution inside nixosTests for Linux devices
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 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
9133b9f555
commit
08f10a21e3
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user