summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-09-18 22:06:01 +0200
committerlassulus <lass@blue.r>2018-09-18 22:06:01 +0200
commit61bddc8d224cf956f1f34cbbefea779bf4c77359 (patch)
treefe4473593e17bab3afa9f96221a8d7c81cb23d3c /krebs
parent6501dffc5ba7b53c838b5d64fae152631d510907 (diff)
Reaktor url-title: fix writePython usage
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/simple/Reaktor/plugins.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix
index 2ccc1c8e9..6f59ad1de 100644
--- a/krebs/5pkgs/simple/Reaktor/plugins.nix
+++ b/krebs/5pkgs/simple/Reaktor/plugins.nix
@@ -120,7 +120,7 @@ rec {
url-title = (buildSimpleReaktorPlugin "url-title" {
pattern = "^.*(?P<args>http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+).*$$";
path = with pkgs; [ curl perl ];
- script = pkgs.writePython3 "url-title" { deps = [ "beautifulsoup4" "lxml" ]; } ''
+ script = pkgs.writePython3 "url-title" { deps = with pkgs.python3Packages; [ beautifulsoup4 lxml ]; } ''
import cgi
import sys
import urllib.request