summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2020-01-09 10:50:17 +0800
committerGitHub <noreply@github.com>2020-01-09 10:50:17 +0800
commit0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64 (patch)
treed072389b8ce80d5417418ac7a7690793ccf08262 /pkgs/servers
parent1b28e47ae107ded7e2837787a376e5abb15152b5 (diff)
parent3f860eb736a37af60abb030383a4235c36238898 (diff)
downloadnixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar.gz
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar.bz2
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar.lz
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar.xz
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.tar.zst
nixpkgs-0cffec3a7c69ddedbf6e7786fc1eb3d31ffa5f64.zip
Merge pull request #70258 from juaningan/restrictedpython
home-assistant: add support for python_script component
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/home-assistant/component-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index 492d5a0b0dc..c9278cd16e6 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -583,7 +583,7 @@
     "pushsafer" = ps: with ps; [  ];
     "pvoutput" = ps: with ps; [  ];
     "pyload" = ps: with ps; [  ];
-    "python_script" = ps: with ps; [  ];
+    "python_script" = ps: with ps; [ restrictedpython ];
     "qbittorrent" = ps: with ps; [  ];
     "qld_bushfire" = ps: with ps; [  ];
     "qnap" = ps: with ps; [  ];