1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-12 15:24:14 +03:00

overlay: Fix eval after xorg improvements

Breaking change: https://github.com/NixOS/nixpkgs/pull/199912
This commit is contained in:
Samuel Dionne-Riel 2022-11-16 17:59:07 -05:00
parent 28669820ba
commit bc85b44748

View File

@ -73,7 +73,14 @@ in
# Totally not upstreamable stuff.
#
xorg = super.xorg.overrideScope'(self: super: {
xorg = (
# Backward compatibility shim
# Fixes eval after https://github.com/NixOS/nixpkgs/pull/199912
# Can be removed on or after 2023-05-16
if super.xorg ? overrideScope'
then super.xorg.overrideScope'
else super.xorg.overrideScope
) (self: super: {
xf86videofbdev = super.xf86videofbdev.overrideAttrs({patches ? [], ...}: {
patches = patches ++ [
./xserver/0001-HACK-fbdev-don-t-bail-on-mode-initialization-fail.patch