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:
@@ -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)}'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user