about summary refs log tree commit diff
path: root/pkgs/applications/emulators/simh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/emulators/simh/default.nix')
-rw-r--r--pkgs/applications/emulators/simh/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/simh/default.nix b/pkgs/applications/emulators/simh/default.nix
index 6f3409ec0637d..0b09f8aae5a7f 100644
--- a/pkgs/applications/emulators/simh/default.nix
+++ b/pkgs/applications/emulators/simh/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
   # Workaround to build against upstream gcc-10 and clang-11.
   # Can be removed when next release contains
   #    https://github.com/simh/simh/issues/794
-  NIX_CFLAGS_COMPILE = [ "-fcommon" ];
+  NIX_CFLAGS_COMPILE = toString [ "-fcommon" ];
 
   makeFlags = [ "GCC=${stdenv.cc.targetPrefix}cc" "CC_STD=-std=c99" "LDFLAGS=-lm" ];