Comment about handling widevine in default.nix.

This commit is contained in:
Julien Langlois 2019-09-06 15:19:49 -04:00
parent ea7c012e4b
commit 7d9578819b
No known key found for this signature in database
GPG Key ID: BB220B0A40F7F862

View File

@ -92,6 +92,10 @@ in let
version = chromium.browser.version;
# This is here because we want to add the widevine shared object at the last
# minute in order to avoid a full rebuild of chromium. Additionally, this
# isn't in `browser.nix` so we can avoid having to re-expose attributes of
# the chromium derivation (see above: we introspect `sandboxExecutableName`).
chromiumWV = let browser = chromium.browser; in if enableWideVine then
runCommand (browser.name + "-wv") { version = browser.version; }
''