Merge pull request #29547 from obsidiansystems/cross-suffix

stdenv: Add back leading '-' in cross derivation name suffix
This commit is contained in:
John Ericson 2017-09-18 19:17:49 -04:00 committed by GitHub
commit 807d8cec97

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;