summary refs log tree commit diff
path: root/pkgs/os-specific/linux/uclibc
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-02 19:18:04 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-02 19:18:04 +0000
commit14a20b717957192c79d1cc66fc0a10f595d7ebf8 (patch)
tree85e786650d5d454c4ced7a01f8e1142d25da6d98 /pkgs/os-specific/linux/uclibc
parent6013c0cf8b2b6f76020f00efec7194cf83f7132c (diff)
downloadnixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar.gz
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar.bz2
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar.lz
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar.xz
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.tar.zst
nixpkgs-14a20b717957192c79d1cc66fc0a10f595d7ebf8.zip
Fixing the evaluation of cross built uclibc in the case of lacking extraConfig
svn path=/nixpkgs/branches/stdenv-updates/; revision=23602
Diffstat (limited to 'pkgs/os-specific/linux/uclibc')
-rw-r--r--pkgs/os-specific/linux/uclibc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/uclibc/default.nix b/pkgs/os-specific/linux/uclibc/default.nix
index 073927ba49a..ce95dbaba92 100644
--- a/pkgs/os-specific/linux/uclibc/default.nix
+++ b/pkgs/os-specific/linux/uclibc/default.nix
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
     cat << EOF | parseconfig
     ${nixConfig}
     ${extraConfig}
-    ${if cross != null then cross.uclibc.extraConfig else ""}
+    ${if cross != null then stdenv.lib.attrByPath [ "uclibc" "extraConfig" ] "" cross else ""}
     $extraCrossConfig
     EOF
     make oldconfig