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";