File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 207207 ] ;
208208 } ;
209209 } ;
210+ playwrightShell = let
211+ playwright-pkgs = inputs . nixpkgs . legacyPackages . ${ system } ;
212+ in {
213+ playwright = playwright-pkgs . mkShell {
214+ packages = [
215+ playwright-pkgs . playwright-test
216+ ] ;
217+ } ;
218+ } ;
210219 flakeWithWasmShell = nixpkgs . lib . recursiveUpdate flake {
211220 devShells = wasmShell ;
212221 hydraJobs = { devShells = wasmShell ; } ;
213222 } ;
223+ flakeWithPlaywrightShell = nixpkgs . lib . recursiveUpdate flakeWithWasmShell {
224+ devShells = playwrightShell ;
225+ hydraJobs = { devShells = playwrightShell ; } ;
226+ } ;
214227 in
215- nixpkgs . lib . recursiveUpdate flakeWithWasmShell rec {
228+ nixpkgs . lib . recursiveUpdate flakeWithPlaywrightShell rec {
216229 project = cabalProject ;
217230 # add a required job, that's basically all hydraJobs.
218231 hydraJobs =
219232 nixpkgs . callPackages inputs . iohkNix . utils . ciJobsAggregates
220233 {
221234 ciJobs =
222- flakeWithWasmShell . hydraJobs
235+ flakeWithPlaywrightShell . hydraJobs
223236 // {
224237 # This ensure hydra send a status for the required job (even if no change other than commit hash)
225238 revision = nixpkgs . writeText "revision" ( inputs . self . rev or "dirty" ) ;
You can’t perform that action at this time.
0 commit comments