Merge pull request #328513 from isabelroses/docs/perlless

nixos/perlless: correct documented warning
This commit is contained in:
nikstur 2024-08-22 11:50:08 +02:00 committed by GitHub
commit 0b6c394f3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,4 @@
# WARNING: If you enable this profile, you will NOT be able to switch to a new
# configuration and thus you will not be able to rebuild your system with
# nixos-rebuild!
{ lib, ... }:
{ lib, pkgs, ... }:
{
@ -31,4 +27,8 @@
# string "perl".
system.forbiddenDependenciesRegexes = ["perl"];
# Re-add nixos-rebuild to the systemPackages that was removed by the
# `system.disableInstallerTools` option.
environment.systemPackages = [pkgs.nixos-rebuild];
}