Unverified Commit ecc51c05 authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

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

parents 83dd6dca 443bd3da
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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";