mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
lix: use structuredAttrs instead of passAsFile for mesonCrossFile (#551489)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user