mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
This makes it possible to build a system without Perl at all.
The actual original consumer of this perl environment was
`nixos/modules/system/activation/switch-to-configuration.pl`, which was
deleted in c59d4343f9, (replaced by Rust
switch-to-configuration-ng). That commit did not touch `top-level.nix`
or `activatable-system.nix`, so this Perl environment was left behind
even though its original (and, as far as I could trace, only) in-tree
consumer was gone.
Any out-of-tree/third-party activation script that happens to read this
`perl` variable will break but can be easily fixed by simply
reintroducing the deleted assignment. Nixpkgs doesn't have any such
consumers so it seems.