build: fix pkg-config detection when inside of a nix-shell
authorSandro Jäckel <sandro.jaeckel@gmail.com>
Wed, 1 Nov 2023 15:49:20 +0000 (16:49 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 2 Nov 2023 19:26:32 +0000 (20:26 +0100)
commit86ca7199dfb132042ce3110acef23d74f4ef14a7
tree706686a0482ffa2afa3feeb8c317f795a46f193d
parent5cdf152b28da70d12cd4eba08e1c75dd7afcced2
build: fix pkg-config detection when inside of a nix-shell

The output of command_all when inside a nix-shell looks like the below
where /usr does not match:

 ➜ scripts/command_all.sh pkg-config
/nix/store/ifr6srqgpvygd5vp14748d109ri31isv-pkg-config-wrapper-0.29.2/bin/pkg-config

Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Makefile