Unpin opencode

This commit is contained in:
Martin Pander
2026-07-01 15:29:49 +02:00
parent bebb12d20d
commit 653ec4e4af
7 changed files with 43 additions and 68 deletions

View File

@@ -1,13 +0,0 @@
# Overlay to provide a pinned version of opencode
# This pins opencode to a specific nixpkgs commit to avoid issues
# with the latest unstable version (segfaults).
#
# Usage: Pass nixpkgs-opencode input when applying overlay:
# overlays = [ (import ./modules/overlays/opencode.nix nixpkgs-opencode) ];
nixpkgs-opencode: final: prev: {
opencode-pinned = (import nixpkgs-opencode {
inherit (prev) system;
config.allowUnfree = true;
}).opencode;
}