fix: allow some insecure packages
This commit is contained in:
1 parent
6b146c3904
commit
682ebd4c24
1 file changed
+12
@@ -9,6 +9,18 @@ let
|
|||||||
|
|
||||||
nixpkgs-config = {
|
nixpkgs-config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|
||||||
|
permittedInsecurePackages =
|
||||||
|
let
|
||||||
|
insecurePackages = [
|
||||||
|
"electron-39.8.10"
|
||||||
|
"pnpm-10.34.0"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
if builtins.length insecurePackages > 0 then
|
||||||
|
lib.trace "Allowing [${lib.strings.join ", " insecurePackages}] which is/are insecure" insecurePackages
|
||||||
|
else
|
||||||
|
[ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
importDir =
|
importDir =
|
||||||
|
|||||||
Reference in new issue
Block a user