Avoid top-level `with ...;` in pkgs/development/compilers/gcc/common/meta.nix

This commit is contained in:
Philip Taron 2024-03-14 13:24:21 -07:00 committed by Valentin Gagarin
parent b94d4c0f78
commit 8616de2279
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,15 @@
{ lib, version, }:
with lib; {
let
inherit (lib)
licenses
maintainers
platforms
teams
versionOlder
;
in
{
homepage = "https://gcc.gnu.org/";
license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
description = "GNU Compiler Collection, version ${version}";