From 0e9d3f146a7f709d6f49982d42aa9143db92e9f1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 19 Jun 2021 22:04:14 +0800 Subject: [PATCH] remove use of deprecated stdenv.lib --- nix/gnutoolchain.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/gnutoolchain.nix b/nix/gnutoolchain.nix index 0a00a56..0811c63 100644 --- a/nix/gnutoolchain.nix +++ b/nix/gnutoolchain.nix @@ -3,7 +3,7 @@ let platform = "arm-none-eabi"; -binutils-pkg = { stdenv, buildPackages +binutils-pkg = { stdenv, lib, buildPackages , fetchurl, zlib , extraConfigureFlags ? [] }: @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { `gprof', `nm', `strip', etc. ''; 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 collision due to the ld/as wrappers/symlinks in the latter. */ priority = "10";