pkgconfig is now pkg-config

This commit is contained in:
Daniel Barlow 2023-09-21 12:25:35 +01:00
parent 8d356890b0
commit 119d6ad379
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
hardeningDisable = ["all"]; hardeningDisable = ["all"];
nativeBuildInputs = [buildPackages.stdenv.cc] ++ nativeBuildInputs = [buildPackages.stdenv.cc] ++
(with buildPackages.pkgs; [ (with buildPackages.pkgs; [
rsync bc bison flex pkgconfig rsync bc bison flex pkg-config
openssl ncurses.all perl openssl ncurses.all perl
]); ]);
CC = "${stdenv.cc.bintools.targetPrefix}gcc"; CC = "${stdenv.cc.bintools.targetPrefix}gcc";

View file

@ -94,7 +94,7 @@ let
hardeningDisable = ["all"]; hardeningDisable = ["all"];
nativeBuildInputs = [buildPackages.stdenv.cc] ++ nativeBuildInputs = [buildPackages.stdenv.cc] ++
(with buildPackages.pkgs; (with buildPackages.pkgs;
[bc bison flex pkgconfig openssl [bc bison flex pkg-config openssl
which kmod cpio which kmod cpio
]); ]);
inherit CC CROSS_COMPILE; inherit CC CROSS_COMPILE;

View file

@ -12,7 +12,7 @@ in stdenv.mkDerivation {
sha256 = "0hi2rj1a1fbvr5n1090q1zzigjyxmn643jzrwngw4ij0g82za3al"; sha256 = "0hi2rj1a1fbvr5n1090q1zzigjyxmn643jzrwngw4ij0g82za3al";
}; };
name = "swconfig"; name = "swconfig";
buildInputs = [ buildPackages.pkgconfig ]; buildInputs = [ buildPackages.pkg-config ];
nativeBuildInputs = [ libnl ]; nativeBuildInputs = [ libnl ];
CFLAGS="-O2 -Ifrom_kernel -I${libnl.dev}/include/libnl3"; CFLAGS="-O2 -Ifrom_kernel -I${libnl.dev}/include/libnl3";
LDFLAGS="-L${libnl.out}/lib"; LDFLAGS="-L${libnl.out}/lib";