mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
hardinfo: fix not finding libc
This commit is contained in:
parent
e98e4d21fa
commit
4708d3f84b
@ -30,6 +30,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i -e "s/^CFLAGS = \(.*\)/CFLAGS = \1 -std=gnu89/" Makefile.in
|
||||
|
||||
substituteInPlace ./arch/linux/common/modules.h --replace /sbin/modinfo modinfo
|
||||
substituteInPlace ./arch/linux/common/os.h --replace /lib/libc.so.6 ${stdenv.glibc.out}/lib/libc.so.6
|
||||
'';
|
||||
|
||||
# Makefile supports DESTDIR but not PREFIX (it hardcodes $DESTDIR/usr/).
|
||||
|
Loading…
Reference in New Issue
Block a user