diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/system/hardinfo/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/system/hardinfo/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/system/hardinfo/default.nix b/nixpkgs/pkgs/tools/system/hardinfo/default.nix index 0c6f812cb3e7..63a72aac79f2 100644 --- a/nixpkgs/pkgs/tools/system/hardinfo/default.nix +++ b/nixpkgs/pkgs/tools/system/hardinfo/default.nix @@ -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/). |