aboutsummaryrefslogtreecommitdiff
path: root/scripts/p7s
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-08-01 20:29:54 +0200
committeralexpdp7 <alex@corcoles.net>2025-08-01 20:37:21 +0200
commit649e6db8259fe5d5cc0b712c974fa16f6629206f (patch)
treecf00fc8476851a5e8c3871d73706f5c541b8423e /scripts/p7s
parentb859bc938954ee4d8e7674df4cea488062c5ce99 (diff)
Run senpai through nix-portable
Diffstat (limited to 'scripts/p7s')
-rw-r--r--scripts/p7s/senpai.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/p7s/senpai.py b/scripts/p7s/senpai.py
new file mode 100644
index 00000000..60629879
--- /dev/null
+++ b/scripts/p7s/senpai.py
@@ -0,0 +1,6 @@
+#!/usr/bin/python3
+import os, shutil, subprocess, sys
+
+def main():
+ os.environ["NP_RUNTIME"] = "bwrap"
+ sys.exit(subprocess.run([shutil.which("nix-portable"), "nix", "run", "nixpkgs#senpai"]).returncode)