about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-12-03 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2022-12-03 04:20:00 +0000
commit496c5183bd872128fcd4d30c22624e2e514767cc (patch)
tree80deea966a8f33453bf22b510c418456ddd09166
parentc92b5e452d632ef163d6654f58fdd70f4309a305 (diff)
downloadnixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar.gz
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar.bz2
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar.lz
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar.xz
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.tar.zst
nixlib-496c5183bd872128fcd4d30c22624e2e514767cc.zip
libtomcrypt: enable on darwin
-rw-r--r--pkgs/development/libraries/libtomcrypt/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libtomcrypt/default.nix b/pkgs/development/libraries/libtomcrypt/default.nix
index 936c92bf7c5d..b836a72c00c4 100644
--- a/pkgs/development/libraries/libtomcrypt/default.nix
+++ b/pkgs/development/libraries/libtomcrypt/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ libtool libtommath ];
 
   postPatch = ''
-    substituteInPlace makefile.shared --replace "LT:=glibtool" "LT:=libtool"
+    substituteInPlace makefile.shared --replace "LIBTOOL:=glibtool" "LIBTOOL:=libtool"
   '';
 
   preBuild = ''
@@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
     homepage = "https://www.libtom.net/LibTomCrypt/";
     description = "A fairly comprehensive, modular and portable cryptographic toolkit";
     license = with licenses; [ publicDomain wtfpl ];
-    platforms = platforms.linux;
+    platforms = platforms.all;
   };
 }