about summary refs log tree commit diff
path: root/pkgs/development/compilers/mono/llvm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/mono/llvm.nix')
-rw-r--r--pkgs/development/compilers/mono/llvm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/mono/llvm.nix b/pkgs/development/compilers/mono/llvm.nix
index c69a4021677e..a9b21845f46a 100644
--- a/pkgs/development/compilers/mono/llvm.nix
+++ b/pkgs/development/compilers/mono/llvm.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
   };
 
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ perl groff libxml2 python2 libffi ] ++ lib.optional stdenv.isLinux valgrind;
+  buildInputs = [ perl groff libxml2 python2 libffi ] ++ lib.optional stdenv.hostPlatform.isLinux valgrind;
 
   propagatedBuildInputs = [ ncurses zlib ];