diff options
author | Kiskae <Kiskae@users.noreply.github.com> | 2022-12-28 16:07:30 +0100 |
---|---|---|
committer | Kiskae <Kiskae@users.noreply.github.com> | 2022-12-28 16:07:30 +0100 |
commit | b08fa40e69294c2b745cc9bbff188839dfcc915a (patch) | |
tree | 0198866e4f79f550f9ef6a46d2cc2b289628575e /pkgs/shells/dash | |
parent | 8df1ea326995e50d3381bdf0b82126e0e1aed8db (diff) |
pkgsStatic.dash: fix build
pkg-config wrapper does not provide a named binary.
Diffstat (limited to 'pkgs/shells/dash')
-rw-r--r-- | pkgs/shells/dash/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index e9b4093249c53..e6113c0d76962 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; |