mesonEmulatorHook: don’t use lib.escapeShellArg

This needs to be a single‐quoted string; #333744 broke this incorrect
use. Hyrum’s law strikes again!
This commit is contained in:
Emily
2024-08-24 00:37:01 +01:00
parent 1f86c1b2e8
commit a4120fcd05
+1 -1
View File
@@ -5674,7 +5674,7 @@ with pkgs;
substitutions = {
crossFile = writeText "cross-file.conf" ''
[binaries]
exe_wrapper = ${lib.escapeShellArg (stdenv.targetPlatform.emulator pkgs)}
exe_wrapper = '${lib.escape [ "'" "\\" ] (stdenv.targetPlatform.emulator pkgs)}'
'';
};
}