about summary refs log tree commit diff
path: root/nixos/modules/profiles/perlless.nix
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2024-04-05 14:34:12 +0200
committerArtturin <Artturin@artturin.com>2024-05-02 21:08:39 +0300
commit8814c364a386d7ff271b6a6058301bc89d49d199 (patch)
treedf5560018ad00a6773b16eebf089a699bbb84727 /nixos/modules/profiles/perlless.nix
parent4c3c9cd219250f143df64ff7cde90ce850bd0323 (diff)
nixos/top-level: Rename `system.forbiddenDependenciesRegex` to `system.forbiddenDependenciesRegexes`
and turn it in to a list.

The current setting of system.forbiddenDependenciesRegex is a string, meaning only one such regex as any additional setting would result in conflicts.

As maintainers have already started using this setting eg. in profiles, it would be good if this setting would accept a list of regex to allow the end
user to make use of it in addition to package maintainers.
Diffstat (limited to 'nixos/modules/profiles/perlless.nix')
-rw-r--r--nixos/modules/profiles/perlless.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/perlless.nix b/nixos/modules/profiles/perlless.nix
index 90abd14f077e4..010e4f8f2a28e 100644
--- a/nixos/modules/profiles/perlless.nix
+++ b/nixos/modules/profiles/perlless.nix
@@ -26,6 +26,6 @@
 
   # Check that the system does not contain a Nix store path that contains the
   # string "perl".
-  system.forbiddenDependenciesRegex = "perl";
+  system.forbiddenDependenciesRegexes = ["perl"];
 
 }