diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-24 20:36:24 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-25 00:09:22 -0400 |
commit | da8e9918364f2b63f689254d95d7c4b286baedf6 (patch) | |
tree | 1481e2eca1667e205f184c055633c361f2a76418 /pkgs/os-specific/linux/crda | |
parent | 7a8b3b8b642e88d9af35096524f509b0fb574785 (diff) |
crda: use prefixed pkg-config
Diffstat (limited to 'pkgs/os-specific/linux/crda')
-rw-r--r-- | pkgs/os-specific/linux/crda/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/crda/default.nix b/pkgs/os-specific/linux/crda/default.nix index 5811e9358b01d..137e88cd6e871 100644 --- a/pkgs/os-specific/linux/crda/default.nix +++ b/pkgs/os-specific/linux/crda/default.nix @@ -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" |