mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
open-vm-tools: fix build w/ glibc-2.44
Failing Hydra build: https://hydra.nixos.org/build/344174037 This package builds fine on the base of this branch, so it's somehow related to the glibc change, I'm just not understanding how. Anyways, the issue is that `g_free` is a macro in glib (NOT glibc) and was expanded in here leading to a syntax error. Removing this line entirely fixes the issue for us.
This commit is contained in:
@@ -150,6 +150,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
substituteInPlace udev/99-vmware-scsi-udev.rules \
|
||||
--replace-fail "/bin/sh" "${bash}/bin/sh"
|
||||
|
||||
substituteInPlace lib/rpcChannel/glib_stubs.c \
|
||||
--replace-fail "void g_free(void *p) { free(p); }" ""
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
||||
Reference in New Issue
Block a user