aboutsummaryrefslogtreecommitdiff
path: root/lib/systems
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-17 16:41:33 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-19 12:03:44 -0400
commit23560ea057024811dfeea8be0b7bd9b7a3d63b31 (patch)
tree727a385d963f9e0c51c8f5c336dc90a39b06da13 /lib/systems
parentdd584d8eeb8c76d82cbac50ace0f7a08586a31e9 (diff)
systems: fix emulator identity
Squashed to fix shell quoting, thanks @Ericson2314
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 52b9bd46e60..dd4f85c17cb 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -103,7 +103,7 @@ rec {
in
if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.name &&
pkgs.stdenv.hostPlatform.isCompatible final
- then "${pkgs.runtimeShell} -c"
+ then "${pkgs.runtimeShell} -c '\"$@\"' --"
else if final.isWindows
then "${wine}/bin/${wine-name}"
else if final.isLinux && pkgs.stdenv.hostPlatform.isLinux