about summary refs log tree commit diff
path: root/pkgs/applications/networking/sniffers/ettercap/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-02-19 21:23:07 +0200
committerArtturin <Artturin@artturin.com>2023-02-22 21:23:04 +0200
commit6f6cc4a22db345c66bcb69c26469b0140ca3be44 (patch)
treee851a90035e6371da52a64732344873f43de0195 /pkgs/applications/networking/sniffers/ettercap/default.nix
parent425e4250dbaab761b638542119b9c5cc604f1d86 (diff)
treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
Diffstat (limited to 'pkgs/applications/networking/sniffers/ettercap/default.nix')
-rw-r--r--pkgs/applications/networking/sniffers/ettercap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/sniffers/ettercap/default.nix b/pkgs/applications/networking/sniffers/ettercap/default.nix
index a3c79fd9560b7..d711a9bd0b4f4 100644
--- a/pkgs/applications/networking/sniffers/ettercap/default.nix
+++ b/pkgs/applications/networking/sniffers/ettercap/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   ];
 
   # TODO: Remove after the next release (0.8.4 should work without this):
-  NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ];
+  NIX_CFLAGS_COMPILE = toString [ "-I${harfbuzz.dev}/include/harfbuzz" ];
 
   meta = with lib; {
     description = "Comprehensive suite for man in the middle attacks";