tere: fix tests on darwin

This commit is contained in:
Olivér Falvai 2024-11-03 09:23:22 +01:00
parent d0d0a08358
commit c941941cac
No known key found for this signature in database

View File

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage {
cargoHash = "sha256-UWZWm6wDiQqUNcWV1nDUWXVhWgqoVUCDWz09cRkiPKg="; cargoHash = "sha256-UWZWm6wDiQqUNcWV1nDUWXVhWgqoVUCDWz09cRkiPKg=";
nativeBuildInputs = [ nativeCheckInputs = [
# ncurses provides the tput command needed for integration tests # ncurses provides the tput command needed for integration tests
# https://github.com/mgunyho/tere/issues/93#issuecomment-2029624187 # https://github.com/mgunyho/tere/issues/93#issuecomment-2029624187
ncurses ncurses
@ -22,7 +22,7 @@ rustPlatform.buildRustPackage {
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
# Unexplained fail # Unexplained fail
# https://github.com/NixOS/nixpkgs/pull/298527#issuecomment-2053758845 # https://github.com/NixOS/nixpkgs/pull/298527#issuecomment-2053758845
"--skip=first_run_prompt_accept" "--skip=first_run_prompt"
]; ];
# NOTE: workaround for build fail on aarch64 # NOTE: workaround for build fail on aarch64