From 5a8065a15e7abcdaf6abc0268b8de5e15847a10a Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 18:36:49 +0700 Subject: 0x0: add meta.platforms --- pkgs/tools/misc/0x0/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/tools') diff --git a/pkgs/tools/misc/0x0/default.nix b/pkgs/tools/misc/0x0/default.nix index 39cfcefaee8..0b9c6f7c3bb 100644 --- a/pkgs/tools/misc/0x0/default.nix +++ b/pkgs/tools/misc/0x0/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation { homepage = "https://gitlab.com/somasis/scripts/"; maintainers = [ maintainers.ar1a ]; license = licenses.unlicense; + platforms = platforms.unix; }; } -- cgit 1.4.1 From cff8ee22e3f3cc99f1c06121f0366411f9f7acf1 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 18:59:33 +0700 Subject: yaml-merge: expand platforms to unix --- pkgs/tools/text/yaml-merge/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/text/yaml-merge/default.nix b/pkgs/tools/text/yaml-merge/default.nix index d36522edb87..7c4ecc49df5 100644 --- a/pkgs/tools/text/yaml-merge/default.nix +++ b/pkgs/tools/text/yaml-merge/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation { description = "Merge YAML data files"; homepage = "https://github.com/abbradar/yaml-merge"; license = licenses.bsd2; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ abbradar ]; }; } -- cgit 1.4.1 From d6a4596c488f9ba47acc7fe5af020d47d302f3aa Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 19:00:39 +0700 Subject: uni2ascii: expand platforms to all --- pkgs/tools/text/uni2ascii/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/text/uni2ascii/default.nix b/pkgs/tools/text/uni2ascii/default.nix index 19c95dcec63..e2bda04d13f 100644 --- a/pkgs/tools/text/uni2ascii/default.nix +++ b/pkgs/tools/text/uni2ascii/default.nix @@ -34,6 +34,6 @@ stdenv.mkDerivation rec { similar ASCII characters, e.g. by stripping diacritics. ''; maintainers = with lib.maintainers; [ goibhniu ]; - platforms = lib.platforms.linux; + platforms = lib.platforms.all; }; } -- cgit 1.4.1 From db04431fcb4179c2f4443d1e5bc9cf21e9b03936 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 19:03:07 +0700 Subject: mpage: fix darwin build --- pkgs/tools/text/mpage/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/text/mpage/default.nix b/pkgs/tools/text/mpage/default.nix index 9bde7f388dc..99cfec97a70 100644 --- a/pkgs/tools/text/mpage/default.nix +++ b/pkgs/tools/text/mpage/default.nix @@ -7,8 +7,9 @@ stdenv.mkDerivation rec { sha256 = "1zn37r5xrvjgjbw2bdkc0r7s6q8b1krmcryzj0yf0dyxbx79rasi"; }; - patchPhase = '' + postPatch = '' sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g" + substituteInPlace Makefile --replace 'gcc' '${stdenv.cc.targetPrefix}cc' ''; meta = { @@ -24,6 +25,6 @@ stdenv.mkDerivation rec { license = "liberal"; # a non-copyleft license, see `Copyright' file homepage = "http://www.mesa.nl/pub/mpage/"; - platforms = lib.platforms.linux; + platforms = lib.platforms.all; }; } -- cgit 1.4.1 From 8ff1b8b502a6c1766b3706f3cdbf9ad448c1571c Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 19:07:03 +0700 Subject: snooze: expand platforms to unix --- pkgs/tools/system/snooze/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/system/snooze/default.nix b/pkgs/tools/system/snooze/default.nix index 750a0954d3f..05c0b69c922 100644 --- a/pkgs/tools/system/snooze/default.nix +++ b/pkgs/tools/system/snooze/default.nix @@ -14,6 +14,6 @@ stdenv.mkDerivation rec { description = "Tool for waiting until a particular time and then running a command"; maintainers = with maintainers; [ kaction ]; license = licenses.cc0; - platforms = platforms.linux; + platforms = platforms.unix; }; } -- cgit 1.4.1 From b79fb90a1c48c92e5b24c074e060b013aeccebc8 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 3 Mar 2021 19:07:41 +0700 Subject: numdiff: fix darwin build --- pkgs/tools/text/numdiff/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/text/numdiff/default.nix b/pkgs/tools/text/numdiff/default.nix index db27c1bfd0c..317d29003cd 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; }; } -- cgit 1.4.1