Merge pull request #208118 from Kiskae/dash-static

pkgsStatic.dash: fix build
This commit is contained in:
Anderson Torres 2022-12-29 01:37:55 -03:00 committed by GitHub
commit 6134568794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;