diff --git a/pkgs/development/libraries/libbfd/default.nix b/pkgs/development/libraries/libbfd/default.nix index 7709f5506751..700c5a928e55 100644 --- a/pkgs/development/libraries/libbfd/default.nix +++ b/pkgs/development/libraries/libbfd/default.nix @@ -1,15 +1,15 @@ { stdenv -, fetchurl, autoreconfHook264, bison, binutils +, fetchurl, autoreconfHook264, bison, binutils-raw , libiberty, zlib }: stdenv.mkDerivation rec { name = "libbfd-${version}"; - inherit (binutils) version src; + inherit (binutils-raw) version src; outputs = [ "out" "dev" ]; - patches = binutils.patches ++ [ + patches = binutils-raw.patches ++ [ ../../tools/misc/binutils/build-components-separately.patch ]; diff --git a/pkgs/development/libraries/libopcodes/default.nix b/pkgs/development/libraries/libopcodes/default.nix index c064ca25c494..f3e12db39819 100644 --- a/pkgs/development/libraries/libopcodes/default.nix +++ b/pkgs/development/libraries/libopcodes/default.nix @@ -1,15 +1,15 @@ { stdenv, buildPackages -, fetchurl, autoreconfHook264, bison, binutils +, fetchurl, autoreconfHook264, bison, binutils-raw , libiberty, libbfd }: stdenv.mkDerivation rec { name = "libopcodes-${version}"; - inherit (binutils) version src; + inherit (binutils-raw) version src; outputs = [ "out" "dev" ]; - patches = binutils.patches ++ [ + patches = binutils-raw.patches ++ [ ../../tools/misc/binutils/build-components-separately.patch ];