Skip to content

Commit

Permalink
chore: re-enable stub-ld
Browse files Browse the repository at this point in the history
Yesterday I tried executing a non-patched binary and it told me the file wasn't found,
taking me over 10 minutes to remember me disabling stub-ld a while back (commit e29f57d).
In a comment above I called it a fallback for morons, so it only seems reasonable I re-enable it.
  • Loading branch information
BastianAsmussen committed Jan 30, 2025
1 parent 62f0c53 commit 63e18cd
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions modules/nixos/misc.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
{pkgs, ...}: {
environment = {
# Disable the stub ELF loader added in 24.05 that serves no purpose other than
# to throw a warning when you try to run a program that requires dynamic
# loading. I disable this since I'm already aware of the implications of NixOS
# on dynamic loading, this is exclusively a fallback for morons.
stub-ld.enable = false;
# Enable system-wide wordlist. Some Pandoc filters and other programs depend
# on wordlist available in system path, and shells do not work. I don't like
# this, but it's a necessary evil.
environment.wordlist = {
enable = true;

# Enable system-wide wordlist. Some Pandoc filters and other programs depend
# on wordlist available in system path, and shells do not work. I don't like
# this, but it's a necessary evil.
wordlist = {
enable = true;

lists.WORDLIST = ["${pkgs.scowl}/share/dict/words.txt"];
};
lists.WORDLIST = ["${pkgs.scowl}/share/dict/words.txt"];
};
}

1 comment on commit 63e18cd

@consoleBeep
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hahah

Please sign in to comment.