Skip to content

Commit 032fd2f

Browse files
author
rachyandco
committed
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.
1 parent 1945a76 commit 032fd2f

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

pkgs/by-name/ny/nym/package.nix

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,32 @@
1313

1414
rustPlatform.buildRustPackage rec {
1515
pname = "nym";
16-
version = "2024.14-crunch-patched";
16+
version = "2026.9-venaco";
1717

1818
src = fetchFromGitHub {
1919
owner = "nymtech";
2020
repo = "nym";
2121
tag = "nym-binaries-v${version}";
22-
hash = "sha256-ze0N+Hg+jVFKaoreCrZUUA3cHGtUZFtxCh5RwTqOdsc=";
22+
hash = "sha256-s3I4yfJfewJpMSqzHXmMFzvsfQAsVNZKzIroatpnfpA=";
2323
};
2424

2525
swagger-ui = fetchurl {
2626
url = "https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.17.14.zip";
2727
hash = "sha256-SBJE0IEgl7Efuu73n3HZQrFxYX+cn5UU5jrL4T5xzNw=";
2828
};
2929

30-
cargoHash = "sha256-51QdzV4eYnA+pC1b7TagSF1g+n67IvZw3euJyI3ZRtM=";
30+
cargoHash = "sha256-ifdz+jZK9Hgezx4/Q9bDsOZOFynqE4GEFfIwXISuxp8=";
3131

3232
env = {
3333
SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}";
3434
OPENSSL_NO_VENDOR = true;
35+
VERGEN_BUILD_TIMESTAMP = "0";
36+
VERGEN_BUILD_SEMVER = version;
37+
VERGEN_GIT_COMMIT_TIMESTAMP = "0";
38+
VERGEN_GIT_BRANCH = "master";
39+
VERGEN_RUSTC_SEMVER = rustc.version;
40+
VERGEN_RUSTC_CHANNEL = "stable";
41+
VERGEN_CARGO_PROFILE = "release";
3542
};
3643

3744
nativeBuildInputs = [
@@ -48,18 +55,12 @@ rustPlatform.buildRustPackage rec {
4855
rev-prefix = "nym-binaries-v";
4956
};
5057

51-
env = {
52-
VERGEN_BUILD_TIMESTAMP = "0";
53-
VERGEN_BUILD_SEMVER = version;
54-
VERGEN_GIT_COMMIT_TIMESTAMP = "0";
55-
VERGEN_GIT_BRANCH = "master";
56-
VERGEN_RUSTC_SEMVER = rustc.version;
57-
VERGEN_RUSTC_CHANNEL = "stable";
58-
VERGEN_CARGO_PROFILE = "release";
59-
};
60-
6158
checkFlags = [
6259
"--skip=ping::http::tests::resolve_host_with_valid_hostname_returns_some"
60+
"--skip=ecash::tests::credential_tests::blind_sign_correct"
61+
"--skip=ecash::tests::credential_tests::already_issued"
62+
"--skip=ecash::tests::issued_ticketbooks::issued_ticketbooks_for"
63+
"--skip=ecash::tests::issued_ticketbooks::issued_ticketbooks_challenge_commitment"
6364
];
6465

6566
meta = {

0 commit comments

Comments
 (0)