fix _cloudflare plugins
This commit is contained in:
parent
b80563f0ed
commit
0cc7afa2eb
1 changed files with 4 additions and 1 deletions
|
|
@ -16,8 +16,10 @@ let
|
|||
screenshots = [ ffmpeg ];
|
||||
};
|
||||
|
||||
python = with pkgs; (python312.withPackages (p: with p; [ cloudscraper cfscrape ]));
|
||||
|
||||
phpPluginDependencies = with pkgs; {
|
||||
_cloudflare = [ python3 ];
|
||||
_cloudflare = [ python ];
|
||||
};
|
||||
|
||||
getPluginDependencies = dependencies: concatMap (p: attrByPath [ p ] [ ] dependencies);
|
||||
|
|
@ -194,6 +196,7 @@ in
|
|||
"id" => "${pkgs.coreutils}/bin/id", // Something like /usr/bin/id. If empty, will be found in PATH.
|
||||
"stat" => "${pkgs.coreutils}/bin/stat", // Something like /usr/bin/stat. If empty, will be found in PATH.
|
||||
"pgrep" => "${pkgs.procps}/bin/pgrep", // TODO why can't we use phpEnv.PATH
|
||||
"python" => "${python}/bin/python3",
|
||||
);
|
||||
|
||||
$localhosts = array( // list of local interfaces
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue