mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
allowNonSourcePredicate: use example of categorical permissivity
Co-authored-by: Adam Joseph <54836058+a-m-joseph@users.noreply.github.com>
This commit is contained in:
parent
095eb91533
commit
7906ea6d9d
@ -103,7 +103,7 @@ let
|
||||
# {pkgs, ...}:
|
||||
# {
|
||||
# allowNonSource = false;
|
||||
# allowNonSourcePredicate = (x: pkgs.lib.hasPrefix "pulumi" x.name);
|
||||
# allowNonSourcePredicate = with lib.lists; pkg: !(any (p: !p.isSource && p!=lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance));
|
||||
# }
|
||||
allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user