diff options
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/motion/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/video/netflix/default.nix | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/video/motion/default.nix b/pkgs/applications/video/motion/default.nix index 73354644b5e43..ddec8efb6a412 100644 --- a/pkgs/applications/video/motion/default.nix +++ b/pkgs/applications/video/motion/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "motion"; - version = "4.5.0"; + version = "4.5.1"; src = fetchFromGitHub { owner = "Motion-Project"; repo = "motion"; rev = "release-${version}"; - sha256 = "sha256-uKEgTQhpslOCfNj8z95/DK4M1Gx4SMRjl1/KPh5KHuc="; + sha256 = "sha256-3TmmLAU/muiI90hrYrctzgVbWS4rXjxzAa0ctVYKSSY="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; diff --git a/pkgs/applications/video/netflix/default.nix b/pkgs/applications/video/netflix/default.nix index 4f44ddebaef4f..8c50e027c0e20 100644 --- a/pkgs/applications/video/netflix/default.nix +++ b/pkgs/applications/video/netflix/default.nix @@ -5,6 +5,9 @@ , runtimeShell , symlinkJoin , writeScriptBin + + # command line arguments which are always set e.g "--disable-gpu" +, commandLineArgs ? [ ] }: let @@ -43,9 +46,12 @@ let script = writeScriptBin name '' #!${runtimeShell} - exec ${google-chrome}/bin/${google-chrome.meta.mainProgram} \ + exec ${google-chrome}/bin/${google-chrome.meta.mainProgram} ${lib.escapeShellArgs commandLineArgs} \ --app=https://netflix.com \ - --no-first-run --no-default-browser-check --no-crash-upload + --no-first-run \ + --no-default-browser-check \ + --no-crash-upload \ + "$@" ''; in |