lix: use structuredAttrs instead of passAsFile for mesonCrossFile (#551489)

This commit is contained in:
Stefan Frijters
2026-08-13 21:39:44 +00:00
committed by GitHub

View File

@@ -122,10 +122,11 @@ let
[project options]
builtin-dep-closure = @deps@
'';
passAsFile = [ "input" ];
__structuredAttrs = true;
}
''
substitute $inputPath $out --replace-fail @deps@ "$(cat ${deps})"
printf "%s" "$input" > $out
substituteInPlace $out --replace-fail @deps@ "$(cat ${deps})"
'';
# curl 8.21.0 /somehow/ breaks Lix unit tests.