about summary refs log tree commit diff
path: root/users/wpcarro/tools/systemd-shell/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-11-19T02·08-0800
committerclbot <clbot@tvl.fyi>2022-11-19T02·11+0000
commit932c3b31bbb16b5d52d34fd65c51d2bd59f94762 (patch)
treed00aa584b9b2d9cd4e3d429208b9744c06a0b222 /users/wpcarro/tools/systemd-shell/default.nix
parent36f4547fb1c873a57d5f8e9342c2ae90b596d14a (diff)
feat(wpcarro/tools): Support systemd-shell r/5290
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
Diffstat (limited to 'users/wpcarro/tools/systemd-shell/default.nix')
-rw-r--r--users/wpcarro/tools/systemd-shell/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/wpcarro/tools/systemd-shell/default.nix b/users/wpcarro/tools/systemd-shell/default.nix
new file mode 100644
index 000000000000..eace76b7087b
--- /dev/null
+++ b/users/wpcarro/tools/systemd-shell/default.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }:
+
+pkgs.python310Packages.buildPythonApplication {
+  pname = "systemd-shell";
+  version = "0.0.1";
+  src = ./.;
+  doCheck = false;
+}