4 # https://github.com/NixOS/nixpkgs/issues/175196
5 # This test has since been simplified to test the recursion without
6 # the fluff to make it look like a real-world example.
7 # The requirement we test here is:
8 # - `permittedInsecurePackages` must be allowed to
9 # use `pkgs` to retrieve at least *some* information.
11 # Instead of `builtins.seq`, the list may be constructed based on actual package info.
12 allowPkgsInPermittedInsecurePackages =
13 let pkgs = import ../.. {
15 permittedInsecurePackages = builtins.seq pkgs.glibc.version [];