From b0bc7667d3b7e0d2472a18d8bbb5a4428d7d1436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 6 Nov 2024 06:16:37 +0100 Subject: [PATCH] fix eval with 24.05 --- lenovo/legion/16ach6h/edid/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lenovo/legion/16ach6h/edid/default.nix b/lenovo/legion/16ach6h/edid/default.nix index 481d1f5c3..481ddd232 100644 --- a/lenovo/legion/16ach6h/edid/default.nix +++ b/lenovo/legion/16ach6h/edid/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, options, ... }: let # This file was obtained from the display while "DDG" mode was enabled. @@ -7,7 +7,7 @@ let cp ${./16ach6h.bin} $out/lib/firmware/edid/16ach6h.bin ''; in -{ +lib.optionalAttrs (options ? hardware.display) { hardware.display = { edid.packages = [ chip_edid ];