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 , libiconv
, Security , Security
, SystemConfiguration , SystemConfiguration
, xvfb-run
, nixosTests , nixosTests
}: }:
@ -38,16 +37,6 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/atuin gen-completions -s zsh) --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 = { passthru.tests = {
inherit (nixosTests) atuin; inherit (nixosTests) atuin;
}; };