Skip to content

Commit

Permalink
rio: Restrict test execution inside nixosTests for Linux devices (#34…
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin authored Oct 5, 2024
2 parents e6413a4 + 08f10a2 commit bb1e5d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/applications/terminal-emulators/rio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};

Expand Down

0 comments on commit bb1e5d8

Please sign in to comment.