atuin: remove xvfb-run for tests

not needed anymore
This commit is contained in:
Sandro Jäckel 2023-06-01 17:28:40 +02:00
parent 825ad30f70
commit 72588581ee
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -6,7 +6,6 @@
, libiconv
, Security
, SystemConfiguration
, xvfb-run
, nixosTests
}:
@ -38,16 +37,6 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/atuin gen-completions -s zsh)
'';
nativeCheckInputs = lib.optionals xvfb-run.meta.available [
xvfb-run
];
checkPhase = lib.optionalString xvfb-run.meta.available ''
runHook preCheck
xvfb-run cargo test
runHook postCheck
'';
passthru.tests = {
inherit (nixosTests) atuin;
};