gdb: s/target/tagetPlatform

Oops, missed this when cleaning up derivation recently
This commit is contained in:
John Ericson 2017-05-23 01:13:06 -04:00
parent fedcda6cda
commit 56b7f9b94d

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
"--with-separate-debug-dir=/run/current-system/sw/lib/debug"
++ stdenv.lib.optional (!pythonSupport) "--without-python"
# TODO(@Ericson2314): This should be done in stdenv, not per-package
++ stdenv.lib.optional (targetPlatform != hostPlatform) "--target=${target.config}"
++ stdenv.lib.optional (targetPlatform != hostPlatform) "--target=${targetPlatform.config}"
++ stdenv.lib.optional multitarget "--enable-targets=all";
postInstall =