nixos/perlless: correct documented warning

This commit is contained in:
isabel 2024-07-19 20:46:40 +01:00
parent 7de14a06e3
commit 750663add9
No known key found for this signature in database
GPG Key ID: 5A87C993E20D89A1

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];
}