about summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-01-17 09:55:32 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-01-17 09:55:32 +0100
commita0bf07827bbf031d90ecb03f4e7345576208214a (patch)
treed61d526b3d4cd15946428da59ae80fbd921dbf35 /pkgs/development/misc
parentedcda996377719342ab9e335af570afc65058d26 (diff)
mpc: also rename the attribute to libmpc
Attrnames and package names should be as close as possible to avoid confusion.
I took care not to confuse the two mpc things during the mass-replace,
so hopefully I suceeded (tarball still builds).
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/avr-gcc-with-avr-libc/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix b/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
index 8c0854ef3de43..4b1dca9855a1c 100644
--- a/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
+++ b/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, writeTextFile, coreutils, gnumake, gcc, gnutar, bzip2
   , gnugrep, gnused, gawk, diffutils, patch
-  , gmp, mpfr, mpc }:
+  , gmp, mpfr, libmpc }:
 
 stdenv.mkDerivation {
   name = "avr-gcc-libc";
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
     mkdir -p "$out"
     export > env-vars
 
-    for i in "${gmp}" "${mpfr}" "${mpc}"; do
+    for i in "${gmp}" "${mpfr}" "${libmpc}"; do
       export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$i/include "
       export NIX_LDFLAGS="$NIX_LDFLAGS -L$i/lib "
     done