diff --git a/hosts/12kingdoms-shoukei/hardware-configuration.nix b/hosts/12kingdoms-shoukei/hardware-configuration.nix index a8ed6dc9..ff8ca041 100644 --- a/hosts/12kingdoms-shoukei/hardware-configuration.nix +++ b/hosts/12kingdoms-shoukei/hardware-configuration.nix @@ -31,6 +31,17 @@ in # This enables the kernel to preload the emulator binaries when the binfmt registrations are added, # obviating the need to make the emulator binaries available inside chroots and chroot-like sandboxes. boot.binfmt.preferStaticEmulators = true; # required to work with podman + nixpkgs.overlays = [ + (final: previous: { + # https://github.com/NixOS/nixpkgs/issues/392673 + # aarch64-unknown-linux-musl-ld: (.text+0x484): warning: too many GOT entries for -fpic, please recompile with -fPIC + nettle = previous.nettle.overrideAttrs ( + lib.optionalAttrs final.stdenv.hostPlatform.isStatic { + CCPIC = "-fPIC"; + } + ); + }) + ]; # supported file systems, so we can mount any removable disks with these filesystems boot.supportedFilesystems = lib.mkForce [