edid-generator: use structuredAttrs instead of passAsFile

This commit is contained in:
Stefan Frijters
2026-03-09 14:20:30 +01:00
parent 08a8774638
commit 443bd3da02
+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";