mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 08:04:47 +00:00
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
This commit is contained in:
parent
b1e24e94a8
commit
0a5e4d1666
@ -4,7 +4,6 @@
|
|||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
chromium,
|
chromium,
|
||||||
chromedriver,
|
|
||||||
python3,
|
python3,
|
||||||
}:
|
}:
|
||||||
buildNpmPackage {
|
buildNpmPackage {
|
||||||
@ -19,7 +18,7 @@ buildNpmPackage {
|
|||||||
};
|
};
|
||||||
npmDepsHash = "sha256-wiBpWw9nb/pWVGIc4Vl/IxxR5ic0LzLMMr3WxRNvYdM=";
|
npmDepsHash = "sha256-wiBpWw9nb/pWVGIc4Vl/IxxR5ic0LzLMMr3WxRNvYdM=";
|
||||||
|
|
||||||
nativeCheckInputs = [chromium chromedriver];
|
nativeCheckInputs = [chromium];
|
||||||
doCheck = stdenv.isLinux;
|
doCheck = stdenv.isLinux;
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
@ -34,8 +33,7 @@ buildNpmPackage {
|
|||||||
|
|
||||||
./single-file \
|
./single-file \
|
||||||
--browser-headless \
|
--browser-headless \
|
||||||
--web-driver-executable-path=chromedriver \
|
--browser-executable-path chromium-browser\
|
||||||
--back-end=webdriver-chromium \
|
|
||||||
http://127.0.0.1:8000
|
http://127.0.0.1:8000
|
||||||
|
|
||||||
grep -F 'Page saved with SingleFile' 'Directory listing for'*.html
|
grep -F 'Page saved with SingleFile' 'Directory listing for'*.html
|
||||||
|
Loading…
Reference in New Issue
Block a user