diff options
| author | quapka | 2024-07-29 17:49:35 +0200 |
|---|---|---|
| committer | quapka | 2024-07-29 17:49:35 +0200 |
| commit | 52bd3d1382cc1d7922ef3c83983004627e08d9da (patch) | |
| tree | 4cc38caefb4458886c4314add4dee60a6662b948 | |
| parent | ebacdc272271eff51698500f190937a1cfa41a8a (diff) | |
| download | ECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.tar.gz ECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.tar.zst ECTester-52bd3d1382cc1d7922ef3c83983004627e08d9da.zip | |
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
