1
0

pkgs/http.server: Add shortcut command for python3 http.server

This commit is contained in:
2025-10-07 19:11:22 +02:00
parent 102509b9a8
commit e8cca7b1b6
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{
python3,
writeShellApplication,
}:
writeShellApplication {
name = "http.server";
text = ''
python3 -m http.server "$@"
'';
runtimeInputs = [
python3
];
}