+https://gitlab.archlinux.org/archlinux/packaging/packages/anki
--- i/build/ninja_gen/src/node.rs
+++ w/build/ninja_gen/src/node.rs
@@ -52,7 +52,7 @@ impl BuildAction for YarnSetup {
         if cfg!(windows) {
             "corepack.cmd enable yarn"
         } else {
-            "corepack enable yarn"
+            "true"
         }
     }
 
diff --git i/package.json w/package.json
index f85945cd5..40ec95796 100644
--- i/package.json
+++ w/package.json
@@ -92,6 +92,5 @@
         "Chrome 77",
         "iOS 14.5"
     ],
-    "type": "module",
-    "packageManager": "yarn@4.11.0"
+    "type": "module"
 }
