retroarch-bare: use structuredAttrs instead of passAsFile

This commit is contained in:
Stefan Frijters
2026-03-23 17:16:49 +01:00
parent fdc7b8f7b3
commit cbcfde61a4
+2 -2
View File
@@ -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,