stdenv: Add back leading '-' in cross derivation name suffix

I messed this up when I moved the logic from `makeStdenvCross` in
e826a6a247.
This commit is contained in:
John Ericson 2017-09-18 18:56:03 -04:00
parent 77bd6313bb
commit 51179c6e88

View File

@ -97,7 +97,7 @@ rec {
{
name = name + lib.optionalString
(stdenv.hostPlatform != stdenv.buildPlatform)
stdenv.hostPlatform.config;
("-" + stdenv.hostPlatform.config);
builder = attrs.realBuilder or stdenv.shell;
args = attrs.args or ["-e" (attrs.builder or ./default-builder.sh)];
inherit stdenv;