xnee: fix build w/glibc-2.34

ChangeLog: https://hydra.nixos.org/build/163058159
main
Maximilian Bosch 2 years ago
parent 4427e547ca
commit 81e0c947ec
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 6
      pkgs/tools/X11/xnee/default.nix

@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
do
sed -i "$i" -e's|/bin/bash|${stdenv.shell}|g ; s|/usr/bin/env bash|${stdenv.shell}|g'
done
# Fix for glibc-2.34. For some reason, `LIBSEMA="CCC"` is added
# if `sem_init` is part of libc which causes errors like
# `gcc: error: CCC: No such file or directory` during the build.
substituteInPlace configure \
--replace 'LIBSEMA="CCC"' 'LIBSEMA=""'
'';
buildInputs =

Loading…
Cancel
Save