15 lines
179 B
Nix
15 lines
179 B
Nix
{
|
|
python3,
|
|
writeShellApplication,
|
|
}:
|
|
|
|
writeShellApplication {
|
|
name = "http.server";
|
|
text = ''
|
|
python3 -m http.server "$@"
|
|
'';
|
|
runtimeInputs = [
|
|
python3
|
|
];
|
|
}
|