atuin: fix build on darwin

xvfb-run is not available on darwin

authored by

figsoda and committed by
Yt
f6f9829f ce2f08f1

+2 -2
+2 -2
pkgs/tools/misc/atuin/default.nix
··· 34 34 --zsh <($out/bin/atuin gen-completions -s zsh) 35 35 ''; 36 36 37 - nativeCheckInputs = [ 37 + nativeCheckInputs = lib.optionals xvfb-run.meta.available [ 38 38 xvfb-run 39 39 ]; 40 40 41 - checkPhase = '' 41 + checkPhase = lib.optionalString xvfb-run.meta.available '' 42 42 runHook preCheck 43 43 xvfb-run cargo test 44 44 runHook postCheck