From b08fa40e69294c2b745cc9bbff188839dfcc915a Mon Sep 17 00:00:00 2001 From: Kiskae Date: Wed, 28 Dec 2022 16:07:30 +0100 Subject: [PATCH] pkgsStatic.dash: fix build pkg-config wrapper does not provide a named binary. --- pkgs/shells/dash/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;