about summary refs log tree commit diff
path: root/pkgs/tools/system/hardinfo/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-23 21:28:14 +0300
committerArtturin <Artturin@artturin.com>2022-05-25 15:51:20 +0300
commit0c4d65b21efd3ae2fcdec54492cbaa6542352eb9 (patch)
treed5251369babb3ed450ff99ad79f7c7ce285fe49c /pkgs/tools/system/hardinfo/default.nix
parenta05b5817834f553f8eae560c58fed02a59af42b9 (diff)
treewide: stdenv.glibc -> glibc
Diffstat (limited to 'pkgs/tools/system/hardinfo/default.nix')
-rw-r--r--pkgs/tools/system/hardinfo/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/hardinfo/default.nix b/pkgs/tools/system/hardinfo/default.nix
index 15c8cbd12f069..828b295813d36 100644
--- a/pkgs/tools/system/hardinfo/default.nix
+++ b/pkgs/tools/system/hardinfo/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, which, pkg-config, gtk2, pcre, glib, libxml2
+{ lib, stdenv, fetchurl, which, pkg-config, gtk2, pcre, glib, libxml2, glibc
 , libsoup ? null
 }:
 
@@ -30,7 +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
+    substituteInPlace ./arch/linux/common/os.h --replace /lib/libc.so.6 ${glibc.out}/lib/libc.so.6
   '';
 
   # Makefile supports DESTDIR but not PREFIX (it hardcodes $DESTDIR/usr/).