diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-27 19:33:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-27 19:33:41 -0400 |
commit | cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c (patch) | |
tree | cb1f1318595aa4d1fad17c71b7b4270c679d646d /pkgs/development | |
parent | ec2d2fe124663e7f545db158734f68edb952820a (diff) | |
parent | ec84e89e58477833824ab022bb9d389bd56c590c (diff) | |
download | nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar.gz nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar.bz2 nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar.lz nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar.xz nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.tar.zst nixpkgs-cee7631c08f94abe81e7a24f7ef6f3fdaa7d1f4c.zip |
Merge pull request #91221 from iblech/patch-dsniff2
Unbreak dsniff by partially reverting a commit to libpcap
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/libpcap/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libpcap/default.nix b/pkgs/development/libraries/libpcap/default.nix index d9cb91e4fb3..fcb599e00f5 100644 --- a/pkgs/development/libraries/libpcap/default.nix +++ b/pkgs/development/libraries/libpcap/default.nix @@ -29,7 +29,9 @@ stdenv.mkDerivation rec { ''; postInstall = '' - rm -f $out/lib/libpcap.a + if [ "$dontDisableStatic" -ne "1" ]; then + rm -f $out/lib/libpcap.a + fi ''; meta = { |