From 7c328ba30596970af40e3bade54621ecfa3e7ad1 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 6 Aug 2024 20:32:29 -0400 Subject: initial commit --- configuration/module-fixes.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 configuration/module-fixes.nix (limited to 'configuration/module-fixes.nix') 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; +} -- cgit v1.2.3