diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index e9b4093249c5..e6113c0d7696 100644 --- a/pkgs/shells/dash/default.nix +++ b/pkgs/shells/dash/default.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-libedit" ]; preConfigure = lib.optional stdenv.hostPlatform.isStatic '' - export LIBS="$(pkg-config --libs --static libedit)" + export LIBS="$(''${PKG_CONFIG:-pkg-config} --libs --static libedit)" ''; enableParallelBuilding = true;