Unverified Commit cbcfde61 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

retroarch-bare: use structuredAttrs instead of passAsFile

parent fdc7b8f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,10 +14,10 @@ let
    runCommand "declarative-retroarch.cfg"
      {
        value = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${n} = \"${v}\"") settings);
        passAsFile = [ "value" ];
        __structuredAttrs = true;
      }
      ''
        cp "$valuePath" "$out"
        printf "%s" "$value" > "$out"
      '';

  # All cores should be located in the same path after symlinkJoin,