diff options
author | Julien Langlois <yourstruly@julienlanglois.me> | 2019-09-05 17:27:04 -0400 |
---|---|---|
committer | Julien Langlois <yourstruly@julienlanglois.me> | 2019-09-05 17:27:04 -0400 |
commit | c28eb26100e212e65440ca133373eba9fc330adf (patch) | |
tree | 86e2bc9624de5e3b261a3b1f8554a73f18c01777 /pkgs/applications/networking/browsers/chromium/browser.nix | |
parent | aeeb67bfcb3f3d8ad0d5e22cf0c7a5c4acfa17ae (diff) | |
download | nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar.gz nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar.bz2 nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar.lz nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar.xz nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.tar.zst nixpkgs-c28eb26100e212e65440ca133373eba9fc330adf.zip |
Set package to unfree when widevine is enabled.
Diffstat (limited to 'pkgs/applications/networking/browsers/chromium/browser.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/browser.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/browser.nix b/pkgs/applications/networking/browsers/chromium/browser.nix index 29fdb117733..ad7fa78527c 100644 --- a/pkgs/applications/networking/browsers/chromium/browser.nix +++ b/pkgs/applications/networking/browsers/chromium/browser.nix @@ -1,4 +1,4 @@ -{ stdenv, mkChromiumDerivation, channel }: +{ stdenv, mkChromiumDerivation, channel, enableWideVine }: with stdenv.lib; @@ -62,7 +62,7 @@ mkChromiumDerivation (base: rec { description = "An open source web browser from Google"; homepage = http://www.chromium.org/; maintainers = with maintainers; [ bendlas ivan ]; - license = licenses.bsd3; + license = if enableWideVine then licenses.unfree else licenses.bsd3; platforms = platforms.linux; hydraPlatforms = if channel == "stable" then ["aarch64-linux" "x86_64-linux"] else []; timeout = 172800; # 48 hours |