summary refs log tree commit diff
path: root/pkgs/build-support/gcc-wrapper/default.nix
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-05-24 10:57:41 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-05-24 10:57:41 +0000
commitf7f938a1d15277fa11a2cbf75fe9c7d4344f25c3 (patch)
tree7f0728120b23ae097a4259c62839037bd84aebad /pkgs/build-support/gcc-wrapper/default.nix
parent62620f0411b4ada733ae4e701416997140053762 (diff)
downloadnixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar.gz
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar.bz2
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar.lz
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar.xz
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.tar.zst
nixlib-f7f938a1d15277fa11a2cbf75fe9c7d4344f25c3.zip
big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
Diffstat (limited to 'pkgs/build-support/gcc-wrapper/default.nix')
-rw-r--r--pkgs/build-support/gcc-wrapper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix
index 91b417060996..d517a472d747 100644
--- a/pkgs/build-support/gcc-wrapper/default.nix
+++ b/pkgs/build-support/gcc-wrapper/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
     let gcc_ = if gcc != null then gcc else {}; in
     (if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) //
     { description =
-        stdenv.lib.getAttr ["meta" "description"] "System C compiler" gcc_
+        stdenv.lib.attrByPath ["meta" "description"] "System C compiler" gcc_
         + " (wrapper script)";
     };