Merge pull request #235406 from SuperSandro2000/atuin-xorg

atuin: remove xvfb-run for tests
This commit is contained in:
0x4A6F 2023-06-01 21:26:24 +02:00 committed by GitHub
commit 65278c3756
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};