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