mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
crda: use prefixed pkg-config
This commit is contained in:
parent
7a8b3b8b64
commit
da8e991836
|
@ -31,7 +31,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
patchShebangs utils/
|
||||
substituteInPlace Makefile --replace ldconfig true
|
||||
substituteInPlace Makefile \
|
||||
--replace ldconfig true \
|
||||
--replace pkg-config $PKG_CONFIG
|
||||
sed -i crda.c \
|
||||
-e "/\/usr\/.*\/regulatory.bin/d" \
|
||||
-e "s|/lib/crda|${wireless-regdb}/lib/crda|g"
|
||||
|
|
Loading…
Reference in a new issue