Point the nimstatic pin at a release asset
nimstatic v0.1.5 is built and attached by its own CI, so the pin no longer needs the commit-sha raw URL that worked around releases having no assets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ed15d1f parent: 078b24d modified
README.md +1 -2 | @@ -62,8 +62,7 @@ just --list # everything else | ||
| 62 | 62 | libc and OpenSSL linked in, nothing dlopen'd — so it runs on any Linux. It |
| 63 | 63 | builds through [nimstatic](https://rickub.com/nandi/nimstatic), pinned in |
| 64 | 64 | `tools/nimstatic` as a [DotSlash](https://dotslash-cli.com) file: the first run |
| 65 | -fetches that exact build, checks its hash and caches it, and the URL names a | |
| 66 | -commit so it cannot move. A static binary carries no CA store, so set | |
| 65 | +fetches that exact release asset, checks its hash and caches it. A static binary carries no CA store, so set | |
| 67 | 66 | `SSL_CERT_FILE` when resolving handles on a host without one at the default |
| 68 | 67 | path. |
| 69 | 68 | |
| @@ -62,8 +62,7 @@ just --list # everything else | |||
| 62 | libc and OpenSSL linked in, nothing dlopen'd — so it runs on any Linux. It | 62 | libc and OpenSSL linked in, nothing dlopen'd — so it runs on any Linux. It |
| 63 | builds through [nimstatic](https://rickub.com/nandi/nimstatic), pinned in | 63 | builds through [nimstatic](https://rickub.com/nandi/nimstatic), pinned in |
| 64 | `tools/nimstatic` as a [DotSlash](https://dotslash-cli.com) file: the first run | 64 | `tools/nimstatic` as a [DotSlash](https://dotslash-cli.com) file: the first run |
| 65 | -fetches that exact build, checks its hash and caches it, and the URL names a | 65 | +fetches that exact release asset, checks its hash and caches it. A static binary carries no CA store, so set |
| 66 | -commit so it cannot move. A static binary carries no CA store, so set | ||
| 67 | `SSL_CERT_FILE` when resolving handles on a host without one at the default | 66 | `SSL_CERT_FILE` when resolving handles on a host without one at the default |
| 68 | path. | 67 | path. |
| 69 | 68 | ||
modified
tools/nimstatic +5 -6 | @@ -1,20 +1,19 @@ | ||
| 1 | 1 | #!/usr/bin/env dotslash |
| 2 | 2 | |
| 3 | 3 | // nimstatic, pinned. `just static` runs this; DotSlash fetches it on first use, |
| 4 | -// verifies the hash and caches it. The URL names a commit rather than a branch, | |
| 5 | -// so it can never change under us. | |
| 4 | +// verifies the hash and caches it. Built by nimstatic's own release workflow. | |
| 6 | 5 | { |
| 7 | 6 | "name": "nimstatic", |
| 8 | 7 | "platforms": { |
| 9 | 8 | "linux-x86_64": { |
| 10 | - "size": 1726368, | |
| 9 | + "size": 1706504, | |
| 11 | 10 | "hash": "sha256", |
| 12 | - "digest": "8cd024a96a0d47d148576d730c11e2c81cdebde777389f08f8bd7faa59a9e185", | |
| 11 | + "digest": "7b6855a7641bd164a1517063554dc6f23dc270b273d8c1697fa18f3975861647", | |
| 13 | 12 | "format": "xz", |
| 14 | - "path": "nimstatic-0.1.0-x86_64-linux", | |
| 13 | + "path": "nimstatic-0.1.5-x86_64-linux", | |
| 15 | 14 | "providers": [ |
| 16 | 15 | { |
| 17 | - "url": "https://rickub.com/nandi/nimstatic/raw/7e028dad26624a2648439fb91b76967f81666fc5/nimstatic-0.1.0-x86_64-linux.xz" | |
| 16 | + "url": "https://rickub.com/nandi/nimstatic/releases/download/v0.1.5/nimstatic-0.1.5-x86_64-linux.xz" | |
| 18 | 17 | } |
| 19 | 18 | ] |
| 20 | 19 | } |
| @@ -1,20 +1,19 @@ | |||
| 1 | #!/usr/bin/env dotslash | 1 | #!/usr/bin/env dotslash |
| 2 | 2 | ||
| 3 | // nimstatic, pinned. `just static` runs this; DotSlash fetches it on first use, | 3 | // nimstatic, pinned. `just static` runs this; DotSlash fetches it on first use, |
| 4 | -// verifies the hash and caches it. The URL names a commit rather than a branch, | 4 | +// verifies the hash and caches it. Built by nimstatic's own release workflow. |
| 5 | -// so it can never change under us. | ||
| 6 | { | 5 | { |
| 7 | "name": "nimstatic", | 6 | "name": "nimstatic", |
| 8 | "platforms": { | 7 | "platforms": { |
| 9 | "linux-x86_64": { | 8 | "linux-x86_64": { |
| 10 | - "size": 1726368, | 9 | + "size": 1706504, |
| 11 | "hash": "sha256", | 10 | "hash": "sha256", |
| 12 | - "digest": "8cd024a96a0d47d148576d730c11e2c81cdebde777389f08f8bd7faa59a9e185", | 11 | + "digest": "7b6855a7641bd164a1517063554dc6f23dc270b273d8c1697fa18f3975861647", |
| 13 | "format": "xz", | 12 | "format": "xz", |
| 14 | - "path": "nimstatic-0.1.0-x86_64-linux", | 13 | + "path": "nimstatic-0.1.5-x86_64-linux", |
| 15 | "providers": [ | 14 | "providers": [ |
| 16 | { | 15 | { |
| 17 | - "url": "https://rickub.com/nandi/nimstatic/raw/7e028dad26624a2648439fb91b76967f81666fc5/nimstatic-0.1.0-x86_64-linux.xz" | 16 | + "url": "https://rickub.com/nandi/nimstatic/releases/download/v0.1.5/nimstatic-0.1.5-x86_64-linux.xz" |
| 18 | } | 17 | } |
| 19 | ] | 18 | ] |
| 20 | } | 19 | } |