Skip to content

Commit b4e8e95

Browse files
Copilotgfauredev
andcommitted
fix: use writeShellScriptBin for google-chrome wrapper so chromedriver finds it via PATH
Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
1 parent 458e6b4 commit b4e8e95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@
174174
chromedriver
175175
maestro
176176
# --no-sandbox required on non-NixOS CI runners where SUID sandbox
177-
# binary is absent, named so selenium-manager finds via PATH
178-
(writeShellScript "google-chrome" ''
177+
# binary is absent, named so chromedriver finds via PATH
178+
(writeShellScriptBin "google-chrome" ''
179179
exec "${pkgs.ungoogled-chromium}/bin/chromium" --no-sandbox "$@"
180180
'')
181181
];

0 commit comments

Comments
 (0)