feat(Profpatsch/writers): add rustSimple writers

A bunch of writer functions wrapping the `buildRustCrate`
functionality of nixpkgs. Can be used to write inline rust code, or
rust code read from files with `builtins.readFile`.

Change-Id: I9d74e9381b858b485925e4dc3fbb7fc392877c0a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2318
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
This commit is contained in:
Profpatsch 2021-01-02 14:54:39 +01:00
parent e219c13328
commit 1261616bff
4 changed files with 110 additions and 10 deletions

View file

@ -135,6 +135,7 @@ let
runCommandNoCC
rustPlatform
rustc
buildRustCrate
s6-portable-utils
sbcl
shellcheck