summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-05-23 01:13:06 -0400
committerJohn Ericson <Ericson2314@Yahoo.com>2017-05-23 01:18:12 -0400
commit56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db (patch)
tree58d391eef045248ef4cdb708ce61fa3cd4865ded
parentfedcda6cdaafc91a03c3aafac087aedf03ae8ae0 (diff)
downloadnixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar.gz
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar.bz2
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar.lz
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar.xz
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.tar.zst
nixpkgs-56b7f9b94d5b0dc57ce73a1c5bc53259ef1486db.zip
gdb: s/target/tagetPlatform
Oops, missed this when cleaning up derivation recently
-rw-r--r--pkgs/development/tools/misc/gdb/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix
index d1ac6eba709..725fb86914b 100644
--- a/pkgs/development/tools/misc/gdb/default.nix
+++ b/pkgs/development/tools/misc/gdb/default.nix
@@ -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 =