From 0a5e4d16668017bb4a36781f04df2c6173251238 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 2 Sep 2024 19:20:53 +0200 Subject: [PATCH] single-file-cli: remove chromedriver from nativeCheckInputs chromedriver is the only thing stopping this from building on aarch64 linux and isn't required to run the test --- pkgs/by-name/si/single-file-cli/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/si/single-file-cli/package.nix b/pkgs/by-name/si/single-file-cli/package.nix index 13da0e896d15..d6aa4d28a7d8 100644 --- a/pkgs/by-name/si/single-file-cli/package.nix +++ b/pkgs/by-name/si/single-file-cli/package.nix @@ -4,7 +4,6 @@ buildNpmPackage, fetchFromGitHub, chromium, - chromedriver, python3, }: buildNpmPackage { @@ -19,7 +18,7 @@ buildNpmPackage { }; npmDepsHash = "sha256-wiBpWw9nb/pWVGIc4Vl/IxxR5ic0LzLMMr3WxRNvYdM="; - nativeCheckInputs = [chromium chromedriver]; + nativeCheckInputs = [chromium]; doCheck = stdenv.isLinux; postBuild = '' @@ -34,8 +33,7 @@ buildNpmPackage { ./single-file \ --browser-headless \ - --web-driver-executable-path=chromedriver \ - --back-end=webdriver-chromium \ + --browser-executable-path chromium-browser\ http://127.0.0.1:8000 grep -F 'Page saved with SingleFile' 'Directory listing for'*.html