Merge pull request #208085 from anund/netflix_allow_override

netflix: allow passing flags to google-chrome

authored by Robert Hensing and committed by GitHub 3f3eb370 38af5768

+8 -2
+8 -2
pkgs/applications/video/netflix/default.nix
··· 5 5 , runtimeShell 6 6 , symlinkJoin 7 7 , writeScriptBin 8 + 9 + # command line arguments which are always set e.g "--disable-gpu" 10 + , commandLineArgs ? [ ] 8 11 }: 9 12 10 13 let ··· 43 46 44 47 script = writeScriptBin name '' 45 48 #!${runtimeShell} 46 - exec ${google-chrome}/bin/${google-chrome.meta.mainProgram} \ 49 + exec ${google-chrome}/bin/${google-chrome.meta.mainProgram} ${lib.escapeShellArgs commandLineArgs} \ 47 50 --app=https://netflix.com \ 48 - --no-first-run --no-default-browser-check --no-crash-upload 51 + --no-first-run \ 52 + --no-default-browser-check \ 53 + --no-crash-upload \ 54 + "$@" 49 55 ''; 50 56 51 57 in