mirror of
https://github.com/ilyakooo0/reflex-dom.git
synced 2024-10-26 07:47:59 +03:00
Add add-overrides.nix
This commit is contained in:
parent
2093f3fe12
commit
35da7fd6df
20
reflex-dom-test-selenium/add-overrides.nix
Normal file
20
reflex-dom-test-selenium/add-overrides.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ nixpkgs }: testPackage:
|
||||
nixpkgs.haskell.lib.overrideCabal testPackage
|
||||
(drv: {
|
||||
|
||||
# The headless browser run as part of the tests will exit without this
|
||||
preBuild = ''
|
||||
export HOME="$PWD"
|
||||
'';
|
||||
|
||||
testSystemDepends = with nixpkgs; (drv.testSystemDepends or []) ++ [
|
||||
selenium-server-standalone which
|
||||
chromium
|
||||
nixpkgs.iproute
|
||||
];
|
||||
|
||||
# The headless browser run as part of gc tests would hang/crash without this
|
||||
preCheck = ''
|
||||
export FONTCONFIG_PATH=${nixpkgs.fontconfig.out}/etc/fonts
|
||||
'';
|
||||
})
|
Loading…
Reference in New Issue
Block a user