diff --git a/package.nix b/package.nix index c12c37b..dc669b8 100644 --- a/package.nix +++ b/package.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; - patches = [ ./patches/ipb-profile-key.patch ./patches/tap-name-no-prefix.patch ]; + patches = [ ./patches/ipb-profile-key.patch ./patches/tap-name-no-prefix.patch ./patches/prevent-dmesg-call.patch ]; nativeBuildInputs = with pkgs; [ cmake diff --git a/patches/prevent-dmesg-call.patch b/patches/prevent-dmesg-call.patch new file mode 100644 index 0000000..3572d29 --- /dev/null +++ b/patches/prevent-dmesg-call.patch @@ -0,0 +1,12 @@ +diff --git a/src/Mayaqua/Unix.c b/src/Mayaqua/Unix.c +index 0c3778d..657dea4 100644 +--- a/src/Mayaqua/Unix.c ++++ b/src/Mayaqua/Unix.c +@@ -345,6 +345,7 @@ bool UnixIsInVmMain() + + bool UnixIsInVm() + { ++ return false; + static bool is_in_vm_flag = false; + static bool is_in_vm_ret = false; +