3
0
Fork 0
forked from mirrors/nixpkgs

pkgsStatic.dash: fix build

pkg-config wrapper does not provide a named binary.
This commit is contained in:
Kiskae 2022-12-28 16:07:30 +01:00
parent 8df1ea3269
commit b08fa40e69

View file

@ -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;