firefox: fix the drmSupport option

At some point the config flag must have changed from --enable-eme to
--enable-eme=widevine, so it was having no effect.
This commit is contained in:
David McFarland 2017-07-01 00:06:51 -03:00
parent e020640932
commit 42464f64f7

View File

@ -153,7 +153,7 @@ stdenv.mkDerivation (rec {
++ lib.optional googleAPISupport "--with-google-api-keyfile=ga" ++ lib.optional googleAPISupport "--with-google-api-keyfile=ga"
++ flag crashreporterSupport "crashreporter" ++ flag crashreporterSupport "crashreporter"
++ flag safeBrowsingSupport "safe-browsing" ++ flag safeBrowsingSupport "safe-browsing"
++ flag drmSupport "eme" ++ lib.optional drmSupport "--enable-eme=widevine"
++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
else [ "--disable-debug" "--enable-release" else [ "--disable-debug" "--enable-release"