about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/zelus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/zelus/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/zelus/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/zelus/default.nix b/pkgs/development/ocaml-modules/zelus/default.nix
index 07d268d45de9..4d52640d53bc 100644
--- a/pkgs/development/ocaml-modules/zelus/default.nix
+++ b/pkgs/development/ocaml-modules/zelus/default.nix
@@ -20,7 +20,7 @@ buildDunePackage rec {
   };
 
   # ./configure: cannot execute: required file not found
-  postPatch = lib.optionalString stdenv.isLinux ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchShebangs configure
   '';