remove use of deprecated stdenv.lib

pull/86/head
Sebastien Bourdeauducq 2021-06-19 22:04:14 +08:00
parent 411eebd96c
commit 0e9d3f146a
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ let
platform = "arm-none-eabi"; platform = "arm-none-eabi";
binutils-pkg = { stdenv, buildPackages binutils-pkg = { stdenv, lib, buildPackages
, fetchurl, zlib , fetchurl, zlib
, extraConfigureFlags ? [] , extraConfigureFlags ? []
}: }:
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
`gprof', `nm', `strip', etc. `gprof', `nm', `strip', etc.
''; '';
homepage = http://www.gnu.org/software/binutils/; homepage = http://www.gnu.org/software/binutils/;
license = stdenv.lib.licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
/* Give binutils a lower priority than gcc-wrapper to prevent a /* Give binutils a lower priority than gcc-wrapper to prevent a
collision due to the ld/as wrappers/symlinks in the latter. */ collision due to the ld/as wrappers/symlinks in the latter. */
priority = "10"; priority = "10";