yt_block upgrades

This commit is contained in:
Sebastian Moser
2024-08-06 23:02:00 +02:00
parent fa9e784c77
commit 85a5f1d9cf
2 changed files with 53 additions and 5 deletions

View File

@@ -5,6 +5,7 @@
python_script = pkgs.writeText "main-py" (builtins.readFile ./main.py);
in pkgs.writeShellApplication {
name = "yt_block";
runtimeInputs = with pkgs; [ iptables bash gnugrep ps util-linux ];
text = ''
${python}/bin/python ${python_script} "$@"
'';