Unverified Commit 0144b6a2 authored by Jared Baur's avatar Jared Baur
Browse files

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.
parent 317c9562
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
#! @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