diff options
| author | quapka | 2024-08-17 16:15:34 +0200 |
|---|---|---|
| committer | quapka | 2024-08-17 16:15:39 +0200 |
| commit | 94e821a54d33aee5aef62f328ec3d50dd6867c9e (patch) | |
| tree | 44a59558f6c3beab8054afcf869e23b221d0a92e /flake.nix | |
| parent | fe92e1e383719c393f3933446abf7e202ae2f77a (diff) | |
| download | ECTester-94e821a54d33aee5aef62f328ec3d50dd6867c9e.tar.gz ECTester-94e821a54d33aee5aef62f328ec3d50dd6867c9e.tar.zst ECTester-94e821a54d33aee5aef62f328ec3d50dd6867c9e.zip | |
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -683,6 +683,15 @@ } ); + + defaultVersion = + # Default version is the last one, aka the newest that we fetched + libName: + let + versions = builtins.fromJSON (builtins.readFile ./nix/${libName}_pkg_versions.json); + in + pkgs.lib.lists.last (pkgs.lib.attrsets.attrValues versions); + loadVersions = { libName, function }: let @@ -707,7 +716,18 @@ in { packages = rec { - default = openssl.default; + default = buildECTesterStandalone { + # FIXME tomcrypt is missing! + botan = defaultVersion "botan"; + cryptopp = defaultVersion "cryptopp"; + openssl = defaultVersion "openssl"; + boringssl = defaultVersion "boringssl"; + gcrypt = defaultVersion "gcrypt"; + mbedtls = defaultVersion "mbedtls"; + ippcp = defaultVersion "ippcp"; + nettle = defaultVersion "nettle"; + libressl = defaultVersion "libressl"; + }; tomcrypt = loadVersions { libName = "tomcrypt"; function = buildECTesterStandalone; |
