mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #235406 from SuperSandro2000/atuin-xorg
atuin: remove xvfb-run for tests
This commit is contained in:
commit
65278c3756
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user