From 1f582350e4c938265e0cb7f2d6369ee08d9ae4a9 Mon Sep 17 00:00:00 2001 From: quapka Date: Sat, 21 Jun 2025 15:39:20 +0200 Subject: Be consistent in nix build calls I've prefix the build path with a dot (`'.?submodules=1'` instead of `'?submodules=1'`). With an older Nix, the dot was needed. Also, the whole submodules part might not be necessary anymore, but I need it on my local machines and thus prefer to keep it for now. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1db16ef..345bb97 100644 --- a/README.md +++ b/README.md @@ -341,12 +341,12 @@ nix build "#lib.openssl.v331" # To build a shim using a given version of a library (example mbedTLS 3.5): nix build "#shim.mbedtls.v35" # To build ECTesterStandalone.jar with a given version of a library (example libgcrypt 1.9.4): -nix build "?submodules=1#gcrypt.v194" +nix build ".?submodules=1#gcrypt.v194" # The available versions of the libraries are in the nix/*_pkg_versions.json files. # The "default" version always points to the most recent version. # To build ECTesterStandalone with all the libraries in default versions: -nix build "?submodules=1#" +nix build ".?submodules=1#" ``` Each of the build steps above puts (symlinks really) its results into `./result` directory (use `-o/--out-link {path}` @@ -355,16 +355,16 @@ ECTesterStandalone with a given library version and arguments do: ```shell # This runs the default test-suite agains LibreSSL 3.9.2 -nix run "?submodules=1#libressl.v392" -- test default LibreSSL +nix run ".?submodules=1#libressl.v392" -- test default LibreSSL ``` To build the JavaCard applets: ```shell -nix build "?submodules=1#applets" +nix build ".?submodules=1#applets" # or individually -nix build "?submodules=1#applet222" -nix build "?submodules=1#applet305" -nix build "?submodules=1#applet320" +nix build ".?submodules=1#applet222" +nix build ".?submodules=1#applet305" +nix build ".?submodules=1#applet320" ``` To build or run the reader you can: -- cgit v1.2.3-70-g09d2