summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-23 16:14:09 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-23 17:42:15 +0000
commit7ce8e7c4cf90492a631e96bcfe70724104914381 (patch)
treefc483fddb11395695e6b6604949368eb56ab478a /lib/licenses.nix
parent9f07aa4babfaff739ecf95855a8203323b09d473 (diff)
downloadnixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar.gz
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar.bz2
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar.lz
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar.xz
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.tar.zst
nixpkgs-7ce8e7c4cf90492a631e96bcfe70724104914381.zip
lib.licenses.asl20-llvm: replace llvm-exception
LLVM-exception only makes sense when used with the Apache 2.0 license,
so let's combine them, so it's not possible to forget one of them like
happened with llvm_15.
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 0c4d9d8bc9e..cf8caff2a78 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -109,6 +109,11 @@ in mkLicense lset) ({
     fullName = "Apache License 2.0";
   };
 
+  asl20-llvm = {
+    spdxId = "Apache-2.0 WITH LLVM-exception";
+    fullName = "Apache License 2.0 with LLVM Exceptions";
+  };
+
   bitstreamVera = {
     spdxId = "Bitstream-Vera";
     fullName = "Bitstream Vera Font License";
@@ -657,11 +662,6 @@ in mkLicense lset) ({
     url = "https://opensource.franz.com/preamble.html";
   };
 
-  llvm-exception = {
-    spdxId = "LLVM-exception";
-    fullName = "LLVM Exception"; # LLVM exceptions to the Apache 2.0 License
-  };
-
   lppl12 = {
     spdxId = "LPPL-1.2";
     fullName = "LaTeX Project Public License v1.2";