diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-19 07:57:32 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-19 07:57:32 -0500 |
commit | ca6710b2e617ad0d332c3ff4a319f37dff19e40b (patch) | |
tree | f4a650aa5ee0749f658d547809d38ffdb53641b3 /pkgs/top-level/all-packages.nix | |
parent | 2a6c7aebcd27acf44149df1433546a7e5d3de420 (diff) | |
download | nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar.gz nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar.bz2 nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar.lz nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar.xz nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.tar.zst nixlib-ca6710b2e617ad0d332c3ff4a319f37dff19e40b.zip |
binutils: Add 2.30.
Diffstat (limited to 'pkgs/top-level/all-packages.nix')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 911c13fbe29b..4ab60ab3ea17 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7332,6 +7332,15 @@ with pkgs; libc = if targetPlatform != hostPlatform then libcCross else stdenv.cc.libc; bintools = binutils-unwrapped; }; + binutils-unwrapped_2_30 = callPackage ../development/tools/misc/binutils/2.30.nix { + # FHS sys dirs presumably only have stuff for the build platform + noSysDirs = (targetPlatform != buildPlatform) || noSysDirs; + }; + binutils-raw_2_30 = wrapBintoolsWith { + libc = if targetPlatform != hostPlatform then libcCross else stdenv.cc.libc; + bintools = binutils-unwrapped_2_30; + }; + binutils_2_30 = binutils-raw_2_30; binutils_nogold = lowPrio (binutils-raw.override { bintools = binutils-raw.bintools.override { |