nixos/switch-to-configuration: add a note for future modifications

Any future behavioral modifications to switch-to-configuration should
also be made to switch-to-configuration-ng. Leave a note at the top of
the script to ensure people don't forget.
This commit is contained in:
Jared Baur
2024-06-21 23:22:57 -07:00
parent 317c95620a
commit 0144b6a270
@@ -1,5 +1,10 @@
#! @perl@/bin/perl
# NOTE: This script has an alternative implementation at
# <nixpkgs/pkgs/by-name/sw/switch-to-configuration-ng>. Any behavioral
# modifications to this script should also be made to that implementation.
# Issue #166838 uncovered a situation in which a configuration not suitable
# for the target architecture caused a cryptic error message instead of
# a clean failure. Due to this mismatch, the perl interpreter in the shebang