From 754e1a285bb480c9058ccd108fd9421d31a544db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Sat, 31 Oct 2015 21:44:58 +0100 Subject: [PATCH] testdisk: darwin fixes --- pkgs/tools/misc/testdisk/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/testdisk/default.nix b/pkgs/tools/misc/testdisk/default.nix index fd237ac15f4a..a80e560b5ebc 100644 --- a/pkgs/tools/misc/testdisk/default.nix +++ b/pkgs/tools/misc/testdisk/default.nix @@ -8,14 +8,15 @@ stdenv.mkDerivation { sha256 = "0v1jap83f5h99zv01v3qmqm160d36n4ysi0gyq7xzb3mqgmw75x5"; }; - buildInputs = [ ncurses libjpeg e2fsprogs zlib openssl libuuid ntfs3g ]; + buildInputs = [ ncurses libjpeg zlib openssl libuuid ] + ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ]; enableParallelBuilding = true; meta = { homepage = http://www.cgsecurity.org/wiki/TestDisk; license = stdenv.lib.licenses.gpl2Plus; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.eelco ]; longDescription = '' TestDisk is a program for data recovery, primarily designed to