generated from stubbfel/nix-project-template
add bare metal runtime
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{ config ? import ../../config { } }:
|
||||
|
||||
config.nixpkgs.writeScript "python-example-web-server" ''
|
||||
#! /usr/bin/env sh
|
||||
|
||||
${config.nixpkgs.python3}/bin/python -m http.server ${config.playground.port}
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user