From 9767460d0067d824a4e5071ba0e490e54b1d4939 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 15 Apr 2021 09:18:08 +0000 Subject: [PATCH] lib.systems.examples.amd64-netbsd: add warning Otherwise, nobody will know it's deprecated! --- lib/systems/examples.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 654d6f69af01..f5cba8bcd63f 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -248,8 +248,7 @@ rec { # BSDs - # Deprecate - amd64-netbsd = x86_64-netbsd; + amd64-netbsd = lib.warn "The amd64-netbsd system example is deprecated. Use x86_64-netbsd instead." x86_64-netbsd; x86_64-netbsd = { config = "x86_64-unknown-netbsd";