docs: pkgconfig -> pkg-config

This commit is contained in:
Jonathan Ringer 2021-01-18 19:19:48 -08:00 committed by Jonathan Ringer
parent d71bca5967
commit 7c64854b23
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ See the `zlib` example:
stdenv = pkgs.emscriptenStdenv; stdenv = pkgs.emscriptenStdenv;
}).overrideDerivation }).overrideDerivation
(old: rec { (old: rec {
buildInputs = old.buildInputs ++ [ pkgconfig ]; buildInputs = old.buildInputs ++ [ pkg-config ];
# we need to reset this setting! # we need to reset this setting!
NIX_CFLAGS_COMPILE=""; NIX_CFLAGS_COMPILE="";
configurePhase = '' configurePhase = ''
@ -117,8 +117,8 @@ This `xmlmirror` example features a emscriptenPackage which is defined completel
xmlmirror = pkgs.buildEmscriptenPackage rec { xmlmirror = pkgs.buildEmscriptenPackage rec {
name = "xmlmirror"; name = "xmlmirror";
buildInputs = [ pkgconfig autoconf automake libtool gnumake libxml2 nodejs openjdk json_c ]; buildInputs = [ pkg-config autoconf automake libtool gnumake libxml2 nodejs openjdk json_c ];
nativeBuildInputs = [ pkgconfig zlib ]; nativeBuildInputs = [ pkg-config zlib ];
src = pkgs.fetchgit { src = pkgs.fetchgit {
url = "https://gitlab.com/odfplugfest/xmlmirror.git"; url = "https://gitlab.com/odfplugfest/xmlmirror.git";

View file

@ -480,7 +480,7 @@ stdenv.mkDerivation {
rustc cargo rustc cargo
# Example Build-time Additional Dependencies # Example Build-time Additional Dependencies
pkgconfig pkg-config
]; ];
buildInputs = [ buildInputs = [
# Example Run-time Additional Dependencies # Example Run-time Additional Dependencies
@ -522,7 +522,7 @@ stdenv.mkDerivation {
latest.rustChannels.nightly.rust latest.rustChannels.nightly.rust
# Add some extra dependencies from `pkgs` # Add some extra dependencies from `pkgs`
pkgconfig openssl pkg-config openssl
]; ];
# Set Environment Variables # Set Environment Variables