diff --git a/modules/desktop/binfmt/default.nix b/modules/desktop/binfmt/default.nix deleted file mode 100644 index cedd52c..0000000 --- a/modules/desktop/binfmt/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - nixpkgs.overlays = [ - (_: super: { - # Because of https://github.com/NixOS/nixpkgs/pull/378579 - # Only qemu-user is patched (binfmt uses it), so full qemu stays cached - qemu-user = - (super.qemu-user.override { - hostCpuTargets = [ "aarch64-linux-user" ]; - }).overrideAttrs - (old: { - patches = (old.patches or [ ]) ++ [ ./qemu.patch ]; - }); - }) - ]; -} diff --git a/modules/desktop/binfmt/qemu.patch b/modules/desktop/binfmt/qemu.patch deleted file mode 100644 index 4817501..0000000 --- a/modules/desktop/binfmt/qemu.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/util/rcu.c b/util/rcu.c -index fa32c942e4..8ae899f74e 100644 ---- a/util/rcu.c -+++ b/util/rcu.c -@@ -409,12 +409,6 @@ static void rcu_init_complete(void) - - qemu_event_init(&rcu_call_ready_event, false); - -- /* The caller is assumed to have BQL, so the call_rcu thread -- * must have been quiescent even after forking, just recreate it. -- */ -- qemu_thread_create(&thread, "call_rcu", call_rcu_thread, -- NULL, QEMU_THREAD_DETACHED); -- - rcu_register_thread(); - }