mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #40204 from teto/wireshark_hook
wireshark: run binary from nix-shell
This commit is contained in:
commit
c85d0beca5
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user