aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquapka2024-07-29 17:49:35 +0200
committerquapka2024-07-29 17:49:35 +0200
commit52bd3d1382cc1d7922ef3c83983004627e08d9da (patch)
tree4cc38caefb4458886c4314add4dee60a6662b948
parentebacdc272271eff51698500f190937a1cfa41a8a (diff)
downloadECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.tar.gz
ECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.tar.zst
ECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.zip
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 7d459e7..a15be19 100644
--- a/flake.nix
+++ b/flake.nix
@@ -79,6 +79,8 @@
INSTALL_USER=$(id -u))
'';
patches = ( prev.patches or [] ) ++ [
+ # NOTE: LibTomCrypt does not expose the lib, when built statically (using `makefile and not `makefile.shared`).
+ # This patch copies the necessary code from `makefile.shared`.
( pkgs.writeText "pkgconfig-for-static.patch" ''
diff --git a/makefile b/makefile
index cd94b86f..ffb65402 100644
@@ -104,8 +106,9 @@ index cd94b86f..ffb65402 100644
url = "https://github.com/libtom/libtommath/releases/download/v${version}/ltm-${version}.tar.xz";
sha256 = "sha256-KWJy2TQ1mRMI63NgdgDANLVYgHoH6CnnURQuZcz6nQg=";
};
- patches = ( prev.patches or [] ) ++
- [
+ patches = ( prev.patches or [] ) ++ [
+ # NOTE: LibTomMath does not expose the lib, when built statically (using `makefile and not `makefile.shared`).
+ # This patch copies the necessary code from `makefile.shared`.
( pkgs.writeText "pkgconfig-for-static.patch" ''
diff --git a/makefile b/makefile
index bee51a1..b36a13a 100644