mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
xnee: fix build w/glibc-2.34
ChangeLog: https://hydra.nixos.org/build/163058159
This commit is contained in:
parent
4427e547ca
commit
81e0c947ec
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
|||||||
do
|
do
|
||||||
sed -i "$i" -e's|/bin/bash|${stdenv.shell}|g ; s|/usr/bin/env bash|${stdenv.shell}|g'
|
sed -i "$i" -e's|/bin/bash|${stdenv.shell}|g ; s|/usr/bin/env bash|${stdenv.shell}|g'
|
||||||
done
|
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 =
|
buildInputs =
|
||||||
|
Loading…
Reference in New Issue
Block a user