Unverified Commit 65278c37 authored by 0x4A6F's avatar 0x4A6F Committed by GitHub
Browse files

Merge pull request #235406 from SuperSandro2000/atuin-xorg

atuin: remove xvfb-run for tests
parents 06eb8ff0 72588581
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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;
  };