fix: respect semver build identifiers for nix (#11915)

This commit is contained in:
Caleb Norton
2026-03-28 18:39:03 -05:00
committed by GitHub
parent 38af99dcb4
commit 4f96eb239f

View File

@@ -20,7 +20,7 @@ let
in
stdenvNoCC.mkDerivation {
pname = "opencode-node_modules";
version = "${packageJson.version}-${rev}";
version = "${packageJson.version}+${lib.replaceString "-" "." rev}";
src = lib.fileset.toSource {
root = ../.;