about summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-06-18 20:57:47 -0700
committerAdam Joseph <adam@westernsemico.com>2023-06-18 21:02:46 -0700
commit92939f4ce233018d7bde58f8fbfd405a9a6c8e28 (patch)
treee11ab21cf7e66e09b4481b09dc9dce854fd70fa4 /lib/systems
parenta22be6461b915b10f5fd9654c2e93704e5c70e25 (diff)
lib/systems/parse.nix: show respect where deserved
The eminent Donald E. Knuth should be recognized as having equal
standing with such entities as IBM, Apple, and the Personal
Computer.  We should acknowledge this by including him as a "vendor".

Also, `gnu-config` recognizes `mmix-knuth-*` triples (and in fact
requires `vendor="knuth"` when `cpu="mmix"`) -- so we sort of have
to.  But we should do it anyways.
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/parse.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix
index 6eb4f27cc5194..34bfd94b3ce50 100644
--- a/lib/systems/parse.nix
+++ b/lib/systems/parse.nix
@@ -221,6 +221,8 @@ rec {
   vendors = setTypes types.openVendor {
     apple = {};
     pc = {};
+    knuth = {};
+
     # Actually matters, unlocking some MinGW-w64-specific options in GCC. See
     # bottom of https://sourceforge.net/p/mingw-w64/wiki2/Unicode%20apps/
     w64 = {};