forked from M-Labs/zynq-rs
1
0
Fork 0

remove use of deprecated stdenv.lib

This commit is contained in:
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";