about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/mtools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/mtools/default.nix')
-rw-r--r--pkgs/tools/filesystems/mtools/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/filesystems/mtools/default.nix b/pkgs/tools/filesystems/mtools/default.nix
index ef5eafc40508..d243d6cb71ef 100644
--- a/pkgs/tools/filesystems/mtools/default.nix
+++ b/pkgs/tools/filesystems/mtools/default.nix
@@ -2,19 +2,19 @@
 
 stdenv.mkDerivation rec {
   pname = "mtools";
-  version = "4.0.44";
+  version = "4.0.45";
 
   src = fetchurl {
     url = "mirror://gnu/mtools/${pname}-${version}.tar.bz2";
-    hash = "sha256-N9xN8CJTPD1LLsHHiXPCfH6LWFN0wtRqtkxqPbMe3bg=";
+    hash = "sha256-CwCKlr0O/g5UL6Q4PUaa9mvEqTOUmQsQNzCoFgpn1hg=";
   };
 
-  patches = lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
+  patches = lib.optional stdenv.hostPlatform.isDarwin ./UNUSED-darwin.patch;
 
   # fails to find X on darwin
-  configureFlags = lib.optional stdenv.isDarwin "--without-x";
+  configureFlags = lib.optional stdenv.hostPlatform.isDarwin "--without-x";
 
-  buildInputs = lib.optional stdenv.isDarwin libiconv;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   doCheck = true;