summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-01-19 13:50:04 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-01-19 13:50:04 +0100
commitfc7bd322dfcd204ce6daa95285ff358999ff9a8d (patch)
tree152ad62f3f30148a64a247fc583af45c80cab40c /doc
parent2d91ad963fe799fce74cf52d8d9ea2d4bc963a93 (diff)
parent1d26caa746f7eda613c5e87342889e55b9e5ba96 (diff)
downloadnixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar.gz
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar.bz2
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar.lz
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar.xz
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.tar.zst
nixpkgs-fc7bd322dfcd204ce6daa95285ff358999ff9a8d.zip
Merge branch 'staging-next' into staging
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/emscripten.section.md6
-rw-r--r--doc/languages-frameworks/rust.section.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/languages-frameworks/emscripten.section.md b/doc/languages-frameworks/emscripten.section.md
index a5c15b43ac8..d391e038070 100644
--- a/doc/languages-frameworks/emscripten.section.md
+++ b/doc/languages-frameworks/emscripten.section.md
@@ -60,7 +60,7 @@ See the `zlib` example:
       stdenv = pkgs.emscriptenStdenv;
     }).overrideDerivation
     (old: rec {
-      buildInputs = old.buildInputs ++ [ pkgconfig ];
+      buildInputs = old.buildInputs ++ [ pkg-config ];
       # we need to reset this setting!
       NIX_CFLAGS_COMPILE="";
       configurePhase = ''
@@ -117,8 +117,8 @@ This `xmlmirror` example features a emscriptenPackage which is defined completel
     xmlmirror = pkgs.buildEmscriptenPackage rec {
       name = "xmlmirror";
 
-      buildInputs = [ pkgconfig autoconf automake libtool gnumake libxml2 nodejs openjdk json_c ];
-      nativeBuildInputs = [ pkgconfig zlib ];
+      buildInputs = [ pkg-config autoconf automake libtool gnumake libxml2 nodejs openjdk json_c ];
+      nativeBuildInputs = [ pkg-config zlib ];
 
       src = pkgs.fetchgit {
         url = "https://gitlab.com/odfplugfest/xmlmirror.git";
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index dda8d485365..550f2b576bd 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -480,7 +480,7 @@ stdenv.mkDerivation {
     rustc cargo
 
     # Example Build-time Additional Dependencies
-    pkgconfig
+    pkg-config
   ];
   buildInputs = [
     # Example Run-time Additional Dependencies
@@ -522,7 +522,7 @@ stdenv.mkDerivation {
     latest.rustChannels.nightly.rust
 
     # Add some extra dependencies from `pkgs`
-    pkgconfig openssl
+    pkg-config openssl
   ];
 
   # Set Environment Variables