Disable server tests in the nix build (#1123)

* Update deps used for the nix build

* Disable server tests in nix build
This commit is contained in:
Patrick Jackson 2023-07-28 00:49:42 -07:00 committed by GitHub
parent c10ba684e0
commit 4d1e6bc8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 6 deletions

View file

@ -35,6 +35,12 @@ rustPlatform.buildRustPackage {
--zsh <($out/bin/atuin gen-completions -s zsh) --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; { meta = with lib; {
description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines"; description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
homepage = "https://github.com/ellie/atuin"; homepage = "https://github.com/ellie/atuin";

View file

@ -17,12 +17,15 @@
} }
}, },
"flake-utils": { "flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": { "locked": {
"lastModified": 1676283394, "lastModified": 1689068808,
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -33,11 +36,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1677560409, "lastModified": 1690441914,
"narHash": "sha256-PIvUIsVNozPXe1FmNe9c6B8Febl3t9+51uBKMJ1Q8o0=", "narHash": "sha256-Ac+kJQ5z9MDAMyzSc0i0zJDx2i3qi9NjlW5Lz285G/I=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9e56d6ec92c8fb4192f1392aa5c4101ad77f2070", "rev": "db8672b8d0a2593c2405aed0c1dfa64b2a2f428f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,6 +56,21 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",