mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
abac6afe93
Package attrs should map to the pname. It's confusing otherwise. pkg-config is also the name used by most distributions: Debian, Homebrew, Guix, OpenSuse other distributions like FreeBSD ports, Fedora and Arch Linux call it "pkgconf" Waiting a few releases to make a tree-wide change to make it easier to back-port things.
7 lines
178 B
Bash
7 lines
178 B
Bash
addPkgConfigPath () {
|
|
addToSearchPath PKG_CONFIG_PATH $1/lib/pkgconfig
|
|
addToSearchPath PKG_CONFIG_PATH $1/share/pkgconfig
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addPkgConfigPath
|