4 # https://github.com/NixOS/nixpkgs/issues/175196
5 allowPkgsInPermittedInsecurePackages =
6 let pkgs = import ../.. {
8 permittedInsecurePackages =
9 tempAllow pkgs.authy "2.1.0" [ "electron-9.4.4" ];
12 # A simplification of `tempAllow` that doesn't check the version, but
13 # has the same strictness characteristics. Actually checking a version
14 # here would add undue maintenance.
17 # tempAllow = p: v: pa:
18 # lib.optionals (lib.assertMsg (p.version == v) "${p.name} is no longer at version ${v}, consider removing the tempAllow") pa;
20 tempAllow = p: v: pa: builtins.seq v builtins.seq p.version pa;