From 23560ea057024811dfeea8be0b7bd9b7a3d63b31 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 17 Apr 2019 16:41:33 -0400 Subject: [PATCH] systems: fix emulator identity Squashed to fix shell quoting, thanks @Ericson2314 --- lib/systems/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 52b9bd46e600..dd4f85c17cb4 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