about summary refs log tree commit diff
path: root/pkgs/development/libraries/libmtp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libmtp/default.nix')
-rw-r--r--pkgs/development/libraries/libmtp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libmtp/default.nix b/pkgs/development/libraries/libmtp/default.nix
index ea61234333b8..320873c9792c 100644
--- a/pkgs/development/libraries/libmtp/default.nix
+++ b/pkgs/development/libraries/libmtp/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
 
   configurePlatforms = [ "build" "host" ];
 
-  makeFlags = lib.optionals (stdenv.isLinux && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
+  makeFlags = lib.optionals (stdenv.hostPlatform.isLinux && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
     "MTP_HOTPLUG=${buildPackages.libmtp}/bin/mtp-hotplug"
   ];