From 5bae6f2287726944fa167d79bb2c681d43a99aeb Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Thu, 2 Jul 2026 15:08:32 +0200 Subject: [PATCH] ocaml: Update license OCaml has switched away from QPL to LGPL2.1 around 10 years ago: https://github.com/ocaml/ocaml/commit/7fc2d214c4ee8853615fc3e5649f45e11d85378d at the 4.04 release. Nixpkgs does not have such old versions so might as well set the version for all of them to `lgpl21`. --- pkgs/development/compilers/ocaml/generic.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix index d074173a8143..38fbc755582a 100644 --- a/pkgs/development/compilers/ocaml/generic.nix +++ b/pkgs/development/compilers/ocaml/generic.nix @@ -214,10 +214,7 @@ stdenv.mkDerivation ( meta = { homepage = "https://ocaml.org/"; branch = versionNoPatch; - license = with lib.licenses; [ - qpl # compiler - lgpl2 # library - ]; + license = lib.licenses.lgpl21; description = "OCaml is an industrial-strength programming language supporting functional, imperative and object-oriented styles"; maintainers = [ lib.maintainers.georgyo ];