python3Packages.libpcap: fix build
It previously failed with
OSError: /nix/store/0vzyp6v62bwlr70xr36iwpsxfsc6jvgq-libpcap-1.10.5/lib/libpcap.so: cannot open shared object file: No such file or directory
because da89a2d075 introduced a lib output.
This commit is contained in:
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
sed -i "/requires/s/, 'tox>=[^']*'//" pyproject.toml
|
||||
cat <<EOF >src/libpcap/libpcap.cfg
|
||||
[libpcap]
|
||||
LIBPCAP = ${pkgsLibpcap}/lib/libpcap${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
LIBPCAP = ${lib.getLib pkgsLibpcap}/lib/libpcap${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
EOF
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user