stdenv: Add back leading '-' in cross derivation name suffix
I messed this up when I moved the logic from `makeStdenvCross` in
e826a6a24774.
commit51179c6e888b03ae3b42f67e2bc85ca0112d7677
authorJohn Ericson <John.Ericson@Obsidian.Systems>
dateMon 18 Sep 2017, 18:56 (9 years ago)
parent77bd631
pkgs/stdenv/generic/make-derivation.nix+1−1
@@ -97,7 +97,7 @@ rec {
9797 {
9898 name = name + lib.optionalString
9999 (stdenv.hostPlatform != stdenv.buildPlatform)
100− stdenv.hostPlatform.config;
100+ ("-" + stdenv.hostPlatform.config);
101101 builder = attrs.realBuilder or stdenv.shell;
102102 args = attrs.args or ["-e" (attrs.builder or ./default-builder.sh)];
103103 inherit stdenv;