Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 287d6d5d3aef2fd8b7f394cf233810bb2f7da6e2
https://github.com/NixOS/nixpkgs/commit/287d6d5d3aef2fd8b7f394cf233810bb2f7da6e2
Author: Bjørn Forsman <[email protected]>
Date: 2014-10-16 (Thu, 16 Oct 2014)
Changed paths:
M pkgs/development/libraries/libpcap/default.nix
Log Message:
-----------
libpcap: pass --with-pcap=linux for all linux systems
...instead of just for i686-linux.
Without a --with-pcap= configure flag, the build system tries to
auto-detect the backend by poking in /dev, /usr/include etc... In the
pure nix world, this auto-detection fails. (Good, we don't want host
details to leak into the build.)
The end result of this (failed) auto-detection; no packet capture
possible:
$ sudo tcpdump -i wlp2s0
tcpdump: live packet capture not supported on this system
This fixes the above issue on 64-bit linux systems, and probably other
architectures supported by linux.
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits