treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
This commit is contained in:
committed by
Jonathan Ringer
parent
200bb8c977
commit
9bb3fccb5b
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pcre, pkgconfig, libsepol
|
||||
{ lib, stdenv, fetchurl, pcre, pkg-config, libsepol
|
||||
, enablePython ? true, swig ? null, python3 ? null
|
||||
, fts
|
||||
}:
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0cr4p0qkr4qd5z1x677vwhz6mlz55kxyijwi2dmrvbhxcw7v78if";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ] ++ optionals enablePython [ swig python3 ];
|
||||
nativeBuildInputs = [ pkg-config ] ++ optionals enablePython [ swig python3 ];
|
||||
buildInputs = [ libsepol pcre fts ] ++ optionals enablePython [ python3 ];
|
||||
|
||||
# drop fortify here since package uses it by default, leading to compile error:
|
||||
|
||||
Reference in New Issue
Block a user