edid-generator: use structuredAttrs instead of passAsFile (#498576)

This commit is contained in:
Florian Klink
2026-03-13 14:37:11 +00:00
committed by GitHub
+3 -2
View File
@@ -43,7 +43,6 @@ stdenv.mkDerivation {
patchShebangs modeline2edid
'';
passAsFile = [ "modelines" ];
clean = false;
modelines = "";
@@ -51,7 +50,7 @@ stdenv.mkDerivation {
runHook preConfigure
test "$clean" != 1 || rm *x*.S
./modeline2edid - <"$modelinesPath"
echo "$modelines" | ./modeline2edid -
for file in *.S ; do
echo "--- generated file: $file"
@@ -78,6 +77,8 @@ stdenv.mkDerivation {
install -Dm 444 *.bin -t "$out/lib/firmware/edid"
'';
__structuredAttrs = true;
meta = {
description = "Hackerswork to generate an EDID blob from given Xorg Modelines";
homepage = "https://github.com/akatrevorjay/edid-generator";