diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-04-05 21:21:42 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-04-05 21:21:42 +0200 |
commit | fb2fc3b4a4fc71d53e89c661428ca59abce1706c (patch) | |
tree | 847cb4ba60c7a1592458afa229a838595a3a1a20 /pkgs/tools/X11/xnee/default.nix | |
parent | a964dcad739fe70ed5e01646594aafdfb2be4560 (diff) | |
parent | bef07673d323a9c489a664ba7dee3dd10468a293 (diff) |
Merge remote-tracking branch 'origin/master' into haskell-updates
Diffstat (limited to 'pkgs/tools/X11/xnee/default.nix')
-rw-r--r-- | pkgs/tools/X11/xnee/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xnee/default.nix b/pkgs/tools/X11/xnee/default.nix index c3355b8026338..00ebb1ecec23e 100644 --- a/pkgs/tools/X11/xnee/default.nix +++ b/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 = |