generated from stubbfel/nix-project-template
add example
This commit is contained in:
5
playground/example/services/python/default.nix
Normal file
5
playground/example/services/python/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ config ? import ../../config { } }:
|
||||
|
||||
config.nixpkgs.writeScript "python-example-web-server" ''
|
||||
${config.nixpkgs.python3}/bin/python -m http.server ${config.playground.port}
|
||||
''
|
||||
Reference in New Issue
Block a user