diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix index c1ffece5a793..37e5ae6f7105 100644 --- a/pkgs/development/tools/misc/lsof/default.nix +++ b/pkgs/development/tools/misc/lsof/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { configurePhase = '' # Stop build scripts from searching global include paths - export LSOF_INCLUDE=${stdenv.libc}/include + export LSOF_INCLUDE=${stdenv.cc.libc}/include ./Configure -n ${if stdenv.isDarwin then "darwin" else "linux"} '';