summary refs log tree commit diff
path: root/lib/systems/examples.nix
diff options
context:
space:
mode:
authorAlyssa Ross2021-04-15 09:18:08 +0000
committerAlyssa Ross2021-04-15 10:45:04 +0000
commit9767460d0067d824a4e5071ba0e490e54b1d4939 (patch)
tree9a2b83a8baabd26c5ceebe9aa05671c5b46f8ba3 /lib/systems/examples.nix
parent894b606945ed4f6f0a24e14e88ce4427f4765c74 (diff)
lib.systems.examples.amd64-netbsd: add warning
Otherwise, nobody will know it's deprecated!
Diffstat (limited to 'lib/systems/examples.nix')
-rw-r--r--lib/systems/examples.nix3
1 files changed, 1 insertions, 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";