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