From 476ca3946b5e129471663a9269d1481b22fd4963 Mon Sep 17 00:00:00 2001 From: M57 <41645758+Hy4ri@users.noreply.github.com> Date: Sat, 1 Aug 2026 14:51:42 +0300 Subject: [PATCH] fix: update stale vendorHash after lipgloss v2 upgrade (#99) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit `efc49ba` (feat: upgrade to lipgloss v2, #94) changed `go.mod`/`go.sum` (lipgloss v1 → v2, ~24 dependency version bumps) but did not update `vendorHash` in `flake.nix`. As a result `nix build .#iris` (and any consumer) fails with a fixed-output derivation hash mismatch: ``` error: hash mismatch in fixed-output derivation 'iris--go-modules.drv': specified: sha256-kBSMhUsuCKIjAXjGfl1WSjCX+tlGi9BTnkRu9ScW6M0= got: sha256-KQNloP/Aj283YQ4d5LFu/2Pbb2HbVTZPhLK1fs4xvGw= ``` This one-line change updates `vendorHash` to the hash actually produced by the module set at HEAD. Verified: `nix build .#iris` succeeds with the corrected hash. Run `nix flake update` afterwards to regenerate `flake.lock`. --- README.md | 2 +- flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc09be5..1be7449 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ If you are using Nix Flakes, you can consume this module directly without buildi **Option B: Install to your user profile** ```bash - nix profile install github:versenilvis/iris + nix profile add github:versenilvis/iris ``` **Option C: Using Home Manager** diff --git a/flake.nix b/flake.nix index a70f5a5..1262f28 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,7 @@ subPackages = ["cmd/iris"]; proxyVendor = true; - vendorHash = "sha256-kBSMhUsuCKIjAXjGfl1WSjCX+tlGi9BTnkRu9ScW6M0="; + vendorHash = "sha256-KQNloP/Aj283YQ4d5LFu/2Pbb2HbVTZPhLK1fs4xvGw="; doCheck = false;