1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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