mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 14:23:19 +00:00
libbfd, libopcodes: moves closer to binutils nix expressions
Having all 3 of binutils, libbfd, libopcodes in one directory eases copying of the whole directory when we need to hold back old version of the whole of binutils or of it's pieces.
This commit is contained in:
parent
6895427d34
commit
72c6cc879e
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
patches = binutils-unwrapped.patches ++ [
|
||||
../../tools/misc/binutils/build-components-separately.patch
|
||||
./build-components-separately.patch
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/mxe/mxe/e1d4c144ee1994f70f86cf7fd8168fe69bd629c6/src/bfd-1-disable-subdir-doc.patch";
|
||||
sha256 = "0pzb3i74d1r7lhjan376h59a7kirw15j7swwm8pz3zy9lkdqkj6q";
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
patches = binutils-unwrapped.patches ++ [
|
||||
../../tools/misc/binutils/build-components-separately.patch
|
||||
./build-components-separately.patch
|
||||
];
|
||||
|
||||
# We just want to build libopcodes
|
@ -15602,6 +15602,14 @@ with pkgs;
|
||||
libc = preLibcCrossHeaders;
|
||||
};
|
||||
|
||||
libbfd = callPackage ../development/tools/misc/binutils/libbfd.nix {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
|
||||
libopcodes = callPackage ../development/tools/misc/binutils/libopcodes.nix {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
|
||||
# Here we select the default bintools implementations to be used. Note when
|
||||
# cross compiling these are used not for this stage but the *next* stage.
|
||||
# That is why we choose using this stage's target platform / next stage's
|
||||
@ -17315,13 +17323,6 @@ with pkgs;
|
||||
|
||||
belle-sip = callPackage ../development/libraries/belle-sip { };
|
||||
|
||||
libbfd = callPackage ../development/libraries/libbfd {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
|
||||
libopcodes = callPackage ../development/libraries/libopcodes {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
|
||||
bicpl = callPackage ../development/libraries/science/biology/bicpl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user