diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-17 16:41:33 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-19 12:03:44 -0400 |
commit | 23560ea057024811dfeea8be0b7bd9b7a3d63b31 (patch) | |
tree | 727a385d963f9e0c51c8f5c336dc90a39b06da13 /lib/systems/default.nix | |
parent | dd584d8eeb8c76d82cbac50ace0f7a08586a31e9 (diff) | |
download | nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar.gz nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar.bz2 nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar.lz nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar.xz nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.tar.zst nixpkgs-23560ea057024811dfeea8be0b7bd9b7a3d63b31.zip |
systems: fix emulator identity
Squashed to fix shell quoting, thanks @Ericson2314
Diffstat (limited to 'lib/systems/default.nix')
-rw-r--r-- | lib/systems/default.nix | 2 |
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 |