Merge pull request #40204 from teto/wireshark_hook

wireshark: run binary from nix-shell
This commit is contained in:
xeji 2018-05-09 21:24:27 +02:00 committed by GitHub
commit c85d0beca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,11 @@ in stdenv.mkDerivation {
enableParallelBuilding = true;
shellHook = ''
# to be able to run the resulting binary
export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1
'';
meta = with stdenv.lib; {
homepage = https://www.wireshark.org/;
description = "Powerful network protocol analyzer";