feat(wpcarro/tools): Support systemd-shell

Drop into a new shell environment with the same variables defined in a systemd
unit file (for debugging purposes).

Change-Id: Iaf513809b524f3f3e845b512450da71694bb7c7f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7308
Autosubmit: wpcarro <wpcarro@gmail.com>
Reviewed-by: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-11-18 18:08:47 -08:00 committed by clbot
parent 36f4547fb1
commit 932c3b31bb
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
pkgs.python310Packages.buildPythonApplication {
pname = "systemd-shell";
version = "0.0.1";
src = ./.;
doCheck = false;
}