Skip to content

Commit

Permalink
Fix nix examples in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
J08nY committed Aug 17, 2024
1 parent 1d06364 commit 3b9ad72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,16 +330,16 @@ Install [Nix](https://nixos.org/download/), then to build:

```shell
# To build a library in a given version run (example OpenSSL 3.3.1):
nix build ".#lib.openssl.v331"
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"
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.
Expand All @@ -348,7 +348,7 @@ 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
```

#### Gradle
Expand Down

0 comments on commit 3b9ad72

Please sign in to comment.