about summary refs log tree commit diff
path: root/pkgs/tools/text/numdiff
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-03-03 19:07:41 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-03-03 22:35:07 +0700
commitb79fb90a1c48c92e5b24c074e060b013aeccebc8 (patch)
tree986d8b91a2f79a9e099e992e4954df27ead33006 /pkgs/tools/text/numdiff
parent8ff1b8b502a6c1766b3706f3cdbf9ad448c1571c (diff)
downloadnixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar.gz
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar.bz2
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar.lz
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar.xz
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.tar.zst
nixlib-b79fb90a1c48c92e5b24c074e060b013aeccebc8.zip
numdiff: fix darwin build
Diffstat (limited to 'pkgs/tools/text/numdiff')
-rw-r--r--pkgs/tools/text/numdiff/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/tools/text/numdiff/default.nix b/pkgs/tools/text/numdiff/default.nix
index db27c1bfd0c0..317d29003cd3 100644
--- a/pkgs/tools/text/numdiff/default.nix
+++ b/pkgs/tools/text/numdiff/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl }:
+{ lib, stdenv, fetchurl, libintl }:
 
 
 stdenv.mkDerivation rec {
@@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
     url = "mirror://savannah/numdiff/numdiff-${version}.tar.gz";
     sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
   };
+
+  buildInputs = [ libintl ];
+
   meta = with lib; {
     description = ''
       A little program that can be used to compare putatively similar files
@@ -18,6 +21,6 @@ stdenv.mkDerivation rec {
     homepage = "https://www.nongnu.org/numdiff/";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [];
-    platforms = platforms.gnu ++ platforms.linux;
+    platforms = platforms.unix;
   };
 }