atuin: remove xvfb-run for tests
not needed anymore
This commit is contained in:
parent
825ad30f70
commit
72588581ee
1 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue