about summary refs log tree commit diff
path: root/pkgs/games/gog/warcraft2/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-06-16 00:33:48 +0200
committeraszlig <aszlig@nix.build>2021-06-16 00:33:48 +0200
commit8093548f673f27d5a144f1ec5b8b0887f13c5e72 (patch)
tree5964b80c2f9ad723650821decf71b3231ef23f62 /pkgs/games/gog/warcraft2/default.nix
parent9ae4281a5d30a34992844574abb707e949f0d9f9 (diff)
treewide: Replace pkgconfig with pkg-config
This is another alias which got introduced in 2018, because the actual
command is "pkg-config" and so the package name containing a dash is
more reasonable.

The reason why I'm doing this is because NixOS VM tests now disallow
aliases and while the evaluation error in question only affected the
"gnupg" test, I decided to change all occurences in the event that we
might want to disallow aliases for things other than VM tests.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @sternenseemann for "opam-env"
Diffstat (limited to 'pkgs/games/gog/warcraft2/default.nix')
-rw-r--r--pkgs/games/gog/warcraft2/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/gog/warcraft2/default.nix b/pkgs/games/gog/warcraft2/default.nix
index c576439f..13802424 100644
--- a/pkgs/games/gog/warcraft2/default.nix
+++ b/pkgs/games/gog/warcraft2/default.nix
@@ -2,7 +2,7 @@
 , fetchFromGitHub, winePackages, xvfb_run, ffmpeg, rename
 
 # Dependencies for the Stratagus engine
-, cmake, pkgconfig, toluapp, lua5_1, libpng, libmng, zlib, SDL, fluidsynth
+, cmake, pkg-config, toluapp, lua5_1, libpng, libmng, zlib, SDL, fluidsynth
 , bzip2, libmikmod, libogg, libvorbis, libtheora, libGLU_combined, sqlite
 }:
 
@@ -42,7 +42,7 @@ let
       "-DOpenGL_GL_PREFERENCE=GLVND" "-DENABLE_DEV=ON"
       "-DGAMEDIR=${placeholder "out"}/bin"
     ];
-    nativeBuildInputs = [ cmake pkgconfig toluapp ];
+    nativeBuildInputs = [ cmake pkg-config toluapp ];
     buildInputs = [
       toluapp lua5_1 libpng libmng zlib SDL fluidsynth bzip2 libmikmod libogg
       libvorbis libtheora libGLU_combined sqlite
@@ -106,7 +106,7 @@ let
     '';
 
     cmakeFlags = [ "-DGAMEDIR=${placeholder "out"}/bin" ];
-    nativeBuildInputs = [ cmake pkgconfig ];
+    nativeBuildInputs = [ cmake pkg-config ];
     buildInputs = [ stratagus zlib libpng bzip2 stormlib ];
   };