nym: 2024.14-crunch-patched -> 2026.9-venaco

Release notes: https://github.com/nymtech/nym/releases/tag/nym-binaries-v2026.9-venaco

Skip ecash tests that require a live nyxd validator connection. They
panic in the Nix build sandbox where outbound network is unavailable:

  - ecash::tests::credential_tests::blind_sign_correct
  - ecash::tests::credential_tests::already_issued
  - ecash::tests::issued_ticketbooks::issued_ticketbooks_for
  - ecash::tests::issued_ticketbooks::issued_ticketbooks_challenge_commitment

Merge the two duplicate `env = { ... }` attribute sets into one. The
second was previously shadowing `SWAGGER_UI_DOWNLOAD_URL` and
`OPENSSL_NO_VENDOR` at evaluation.
This commit is contained in:
rachyandco
2026-05-13 22:08:05 +02:00
parent 1945a76ddb
commit 032fd2f441

View File

@@ -13,13 +13,13 @@
rustPlatform.buildRustPackage rec {
pname = "nym";
version = "2024.14-crunch-patched";
version = "2026.9-venaco";
src = fetchFromGitHub {
owner = "nymtech";
repo = "nym";
tag = "nym-binaries-v${version}";
hash = "sha256-ze0N+Hg+jVFKaoreCrZUUA3cHGtUZFtxCh5RwTqOdsc=";
hash = "sha256-s3I4yfJfewJpMSqzHXmMFzvsfQAsVNZKzIroatpnfpA=";
};
swagger-ui = fetchurl {
@@ -27,11 +27,18 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-SBJE0IEgl7Efuu73n3HZQrFxYX+cn5UU5jrL4T5xzNw=";
};
cargoHash = "sha256-51QdzV4eYnA+pC1b7TagSF1g+n67IvZw3euJyI3ZRtM=";
cargoHash = "sha256-ifdz+jZK9Hgezx4/Q9bDsOZOFynqE4GEFfIwXISuxp8=";
env = {
SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}";
OPENSSL_NO_VENDOR = true;
VERGEN_BUILD_TIMESTAMP = "0";
VERGEN_BUILD_SEMVER = version;
VERGEN_GIT_COMMIT_TIMESTAMP = "0";
VERGEN_GIT_BRANCH = "master";
VERGEN_RUSTC_SEMVER = rustc.version;
VERGEN_RUSTC_CHANNEL = "stable";
VERGEN_CARGO_PROFILE = "release";
};
nativeBuildInputs = [
@@ -48,18 +55,12 @@ rustPlatform.buildRustPackage rec {
rev-prefix = "nym-binaries-v";
};
env = {
VERGEN_BUILD_TIMESTAMP = "0";
VERGEN_BUILD_SEMVER = version;
VERGEN_GIT_COMMIT_TIMESTAMP = "0";
VERGEN_GIT_BRANCH = "master";
VERGEN_RUSTC_SEMVER = rustc.version;
VERGEN_RUSTC_CHANNEL = "stable";
VERGEN_CARGO_PROFILE = "release";
};
checkFlags = [
"--skip=ping::http::tests::resolve_host_with_valid_hostname_returns_some"
"--skip=ecash::tests::credential_tests::blind_sign_correct"
"--skip=ecash::tests::credential_tests::already_issued"
"--skip=ecash::tests::issued_ticketbooks::issued_ticketbooks_for"
"--skip=ecash::tests::issued_ticketbooks::issued_ticketbooks_challenge_commitment"
];
meta = {