about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/iouyap/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/iouyap/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/networking/iouyap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/networking/iouyap/default.nix b/nixpkgs/pkgs/tools/networking/iouyap/default.nix
index 0b3c8007af6e..d2754469fade 100644
--- a/nixpkgs/pkgs/tools/networking/iouyap/default.nix
+++ b/nixpkgs/pkgs/tools/networking/iouyap/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   # Workaround build failure on -fno-common toolchains like upstream
   # gcc-10. Otherwise build fails as:
   #   ld: netmap.o:(.bss+0x20): multiple definition of `sizecheck'; iouyap.o:(.bss+0x20): first defined here
-  NIX_CFLAGS_COMPILE = "-fcommon";
+  env.NIX_CFLAGS_COMPILE = "-fcommon";
 
   installPhase = ''
     install -D -m555 iouyap $out/bin/iouyap;