!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

450 Members
Gaming things, my hands are typing words.128 Servers

Load older messages


SenderMessageTime
27 Jul 2025
@k900:0upti.meK900OK why is it downloading a 500MB thing04:57:55
@k900:0upti.meK900And why do I only see that on stderr04:58:08
@k900:0upti.meK900OK wait for me it's running some sort of vendored umu it's downloaded05:07:32
@k900:0upti.meK900 /home/k900/.config/heroic/tools/runtimes/umu/umu-run 05:07:42
@k900:0upti.meK900Oh wait that's the unwrap PR's problem I think05:09:39
@k900:0upti.meK900OK I have a repro05:22:42
@k900:0upti.meK900OK WHAT05:35:59
@k900:0upti.meK900I have QUESTIONS05:36:06
@k900:0upti.meK900
diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
index e69e990d3f29..fa43fe9fcf96 100644
--- a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
+++ b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
@@ -167,7 +167,7 @@ let
     run:
     writeShellScript "${name}-init" ''
       source /etc/profile
-      exec ${run} "$@"
+      ${run} "$@"
     '';
 
   indentLines = str: concatLines (map (s: "  " + s) (filter (s: s != "") (splitString "\n" str)));
05:40:15
@k900:0upti.meK900This fixes it05:40:17
@k900:0upti.meK900H O W05:40:19
@charles:computer.surgeryCharlesfascinating05:44:06
@aidalgol:matrix.orgaidalgol Heroic does that if umu-run isn't on the 4PATH. 05:47:55
@aidalgol:matrix.orgaidalgol * Heroic does that if umu-run isn't on the $PATH. 05:47:57
@k900:0upti.meK900Yeah I figured that one out05:48:03
@k900:0upti.meK900OK so05:53:07
@k900:0upti.meK900I added logging to every fucking wrapper in the chain05:53:14
@k900:0upti.meK900
 exec -a umu-run /home/k900/test/umu-run-wrapped <blah blah game>
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# installing zipimport hook
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
import 'zipimport' # <class '_frozen_importlib.FrozenImporter'>
# installed zipimport hook
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__init__.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <class '_frozen_importlib.FrozenImporter'>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/aliases.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba210>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3352b0>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/utf_8.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba350>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <class '_frozen_importlib.FrozenImporter'>
import 'io' # <class '_frozen_importlib.FrozenImporter'>
05:53:35
@k900:0upti.meK900And it just dies there05:53:45
@charles:computer.surgeryCharlesthe only thing i can think of is that exec doesn't create a new process, so maybe somehow the shell process has some kind of state somewhere that the exec'd thing ends up inheriting that causes it to explode, and i have no idea how to go about testing/falsifying that idea05:55:41
@k900:0upti.meK900Oh god05:56:34
@k900:0upti.meK900I think I figured it out05:56:38
@charles:computer.surgeryCharleswhat did you see, denvercoder905:57:23
@k900:0upti.meK900Or maybe not06:00:09
@k900:0upti.meK900It's like it's getting killed at a random point06:00:17
@k900:0upti.meK900I wonder if this is some python subprocess.popen nonsense06:00:36
@k900:0upti.meK900Because Legendary is just doing subprocess.popen06:00:45
@charles:computer.surgeryCharlesnot a consistent point?06:00:49
@k900:0upti.meK900Nope06:04:38
@k900:0upti.meK900OK so I think what MIGHT be happening is that something is not detaching somewhere06:05:19

Show newer messages


Back to Room ListRoom Version: 10