From 4d1e6bc8fc378fa0ff428c610703cf56f9cbfd4e Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Fri, 28 Jul 2023 00:49:42 -0700 Subject: Disable server tests in the nix build (#1123) * Update deps used for the nix build * Disable server tests in nix build --- atuin.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'atuin.nix') diff --git a/atuin.nix b/atuin.nix index 262f5701..7a116b86 100644 --- a/atuin.nix +++ b/atuin.nix @@ -35,6 +35,12 @@ rustPlatform.buildRustPackage { --zsh <($out/bin/atuin gen-completions -s zsh) ''; + # Additional flags passed to the cargo test binary, see `cargo test -- --help` + checkFlags = [ + # Registration tests require a postgres server + "--skip=registration" + ]; + meta = with lib; { description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines"; homepage = "https://github.com/ellie/atuin"; -- cgit v1.3.1