]> xn--ix-yja.es Git - alex.git/commitdiff
Fix wrapper
authoralex <alex@pdp7.net>
Sun, 10 Aug 2025 14:55:02 +0000 (16:55 +0200)
committeralexpdp7 <alex@corcoles.net>
Sun, 10 Aug 2025 14:55:37 +0000 (16:55 +0200)
scripts/p7s/__init__.py

index 9afc6ba7be69a5dee9adbd8aa535b345603f7b25..17510190980df476caa0cdea015ac62736150dcb 100644 (file)
@@ -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