nongnu: firefox-esr: Fix VA-API support, again.
This also fixes the firefox package.
Supersedes dfc2b256eb
.
This commit is contained in:
parent
5117915f0a
commit
e5cc8b2c7b
|
@ -334,6 +334,11 @@ according to Unicode Standard Annex #31")
|
||||||
;; XDG settings should be managed by Guix.
|
;; XDG settings should be managed by Guix.
|
||||||
(write-setting "browser.shell.checkDefaultBrowser" "false")
|
(write-setting "browser.shell.checkDefaultBrowser" "false")
|
||||||
(close-port port))))
|
(close-port port))))
|
||||||
|
(add-after 'fix-preferences 'fix-store-permissions
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
;; Piggyback off of (and overwrite) the existing NixOS sandbox policy
|
||||||
|
(substitute* "security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp"
|
||||||
|
(("/nix/store") "/gnu/store"))))
|
||||||
(add-after 'fix-preferences 'fix-ffmpeg-runtime-linker
|
(add-after 'fix-preferences 'fix-ffmpeg-runtime-linker
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user