c140a4444cf7
add install.sh redirect: discontinued notice + nix profile add path; bump to v3.0.19
- time
- 2026-06-08 09:41 UTC · 4 months ago
- machine
- koh2
- agent
- claude-sonnet-4-6
- session
- dummy install.sh redirect
- parent
- 5096769f9bb3
↓ nina-c140a444.tar.gzatlas at this save
files changed3 files
VERSION+1 −1build.zig.zon+1 −1install.sh+48 −0build.zig.zon+1 −1
@@ -9,7 +9,7 @@99 .name = .nina,1010 // This is a [Semantic Version](https://semver.org/).1111 // In a future version of Zig it will be used for package deduplication.12- .version = "3.0.18",12+ .version = "3.0.19",1313 // Together with name, this represents a globally unique package1414 // identifier. This field is generated by the Zig toolchain when the1515 // package is first created, and then *never changes*. This allowsinstall.sh+48 −0
@@ -0,0 +1,48 @@1+#!/bin/sh2+set -e3+4+banner() {5+ cat <<'BANNER'6+7+ _8+ _ __ (_)_ __ __ _9+ | '_ \| | '_ \ / _` |10+ | | | | | | | | (_| |11+ |_| |_|_|_| |_|\__,_|12+13+ NixOS helper · kepr.uk/nina14+15+BANNER16+}17+18+INSTALL_CMD="nix profile add 'https://kepr.uk/nina/archive/HEAD.tar.gz#nina'"19+20+main() {21+ banner >&222+23+ cat >&2 <<'EOF'24+ The install script has been discontinued.25+26+ nina is now installed directly with nix — no script needed:27+28+EOF29+30+ printf ' %s\n\n' "$INSTALL_CMD" >&231+32+ if [ -t 0 ]; then33+ printf ' Run it now? [Y/n] ' >&234+ read -r answer >&2 </dev/tty35+ case "${answer:-y}" in36+ [nN]*)37+ printf '\n Copy the command above and run it whenever you are ready.\n\n' >&238+ exit 039+ ;;40+ esac41+ printf '\n' >&242+ fi43+44+ eval "$INSTALL_CMD"45+ printf '\n Done. Try: nina --version\n\n' >&246+}47+48+main