diff options
| author | seth <[email protected]> | 2024-08-06 20:32:29 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-08-06 20:32:29 -0400 |
| commit | 7c328ba30596970af40e3bade54621ecfa3e7ad1 (patch) | |
| tree | 7f6665aaa47946fa1bd77141fbb90ef714e3a8e3 /configuration/module-fixes.nix | |
initial commit
Diffstat (limited to 'configuration/module-fixes.nix')
| -rw-r--r-- | configuration/module-fixes.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configuration/module-fixes.nix b/configuration/module-fixes.nix new file mode 100644 index 0000000..ee3005c --- /dev/null +++ b/configuration/module-fixes.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + environment = { + # NOTE: This is what prints the fun error message about + # binaries not compiled for NixOS not working with it + # + # It's here because on x86_64 systems, a 32-bit `ld` stub + # is built against `pkgs.pkgsi686Linux`; nixpkgs doesn't + # support a pure i686 musl bootstrap, so it throws an eval + # error. womp womp + stub-ld.enable = false; + }; + + # HACK: nixpkgs instantiated for musl doesn't have glibc locales, so the + # default value throws eval errors + # This will probably break something + i18n.glibcLocales = pkgs.emptyFile; +} |
