mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
atuin: remove xvfb-run for tests
not needed anymore
This commit is contained in:
parent
825ad30f70
commit
72588581ee
@ -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