about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-12-30T23·19+0300
committerclbot <clbot@tvl.fyi>2023-12-30T23·22+0000
commitac25e5152c45565d548b99d182a19a33984b0170 (patch)
treee0001650de5d5b49bb011d1694ad5b59ea4c6a32
parent61250d0c6beb3929da3164040996dc5cd31725bf (diff)
fix(tazjin/nixos): disable stub-ld r/7287
This thing has been introduced recently and prints annoying warnings
when running manually patchelfed binaries with the default loader
path (which used to work fine!).

This doesn't actually fix running the binaries, which now segfault,
but at least it doesn't print a paragraph of annoying text in the
terminal instead.

Change-Id: Ie0d8c3cc124b71d244e10f3755431fb3401ff81b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10479
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/nixos/modules/physical.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/physical.nix b/users/tazjin/nixos/modules/physical.nix
index b4c3797697d0..6d48a076bf51 100644
--- a/users/tazjin/nixos/modules/physical.nix
+++ b/users/tazjin/nixos/modules/physical.nix
@@ -92,6 +92,10 @@ in
     # Disable the broken NetworkManager-wait-online.service
     systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
 
+    # Disable the thing that prints annoying warnings when trying to
+    # run manually patchelfed binaries
+    environment.stub-ld.enable = false;
+
     programs = {
       fish.enable = true;
       mosh.enable = true;