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).
This commit is contained in:
Vladimír Čunát
2015-01-17 09:55:32 +01:00
parent edcda99637
commit a0bf07827b
13 changed files with 26 additions and 26 deletions

View File

@@ -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