about summary refs log tree commit diff
path: root/pkgs/by-name/mo/mongodb-ce/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/mo/mongodb-ce/package.nix')
-rw-r--r--pkgs/by-name/mo/mongodb-ce/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/mo/mongodb-ce/package.nix b/pkgs/by-name/mo/mongodb-ce/package.nix
index d3dc490bdcfe..a7ee195c9874 100644
--- a/pkgs/by-name/mo/mongodb-ce/package.nix
+++ b/pkgs/by-name/mo/mongodb-ce/package.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
       or (throw "unsupported system: ${stdenv.hostPlatform.system}")
   );
 
-  nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
   dontStrip = true;
 
   buildInputs = [