diff options
| author | alex <alex@pdp7.net> | 2025-08-10 16:55:02 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2025-08-10 16:55:37 +0200 |
| commit | 8faab3bc108bdedec96b627b9a5e2566dcb263d2 (patch) | |
| tree | 2391976f55db54de05e6cba78bf297afede38d7b /scripts | |
| parent | 4c15b787432e2cb41a0cc63fe4cdac81679faec4 (diff) | |
Fix wrapper
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/p7s/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/p7s/__init__.py b/scripts/p7s/__init__.py index 9afc6ba7..17510190 100644 --- a/scripts/p7s/__init__.py +++ b/scripts/p7s/__init__.py @@ -4,7 +4,7 @@ import os, pathlib, shutil, subprocess, sys def nix_portable(command): def main(): os.environ["NP_RUNTIME"] = "bwrap" - sys.exit(subprocess.run([shutil.which("nix-portable"), "nix", "run", f"nixpkgs#{command}"] + sys.argv[1:]).returncode) + sys.exit(subprocess.run([shutil.which("nix-portable"), "nix", "run", f"nixpkgs#{command}", "--"] + sys.argv[1:]).returncode) return main |
