1
0
Files
nixfiles/pkgs/http.server/default.nix

15 lines
179 B
Nix

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