summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCaleb Norton <[email protected]>2026-03-28 18:39:03 -0500
committerGitHub <[email protected]>2026-03-28 18:39:03 -0500
commit4f96eb239ffa5615bdb87ffbdd64e20904f447a5 (patch)
tree21f2ac88823c12a02f6f328dfbf57c7d93c0a502
parent38af99dcb47e92e4f25c7aa6344b5f8f9b766e1e (diff)
downloadopencode-4f96eb239ffa5615bdb87ffbdd64e20904f447a5.tar.gz
opencode-4f96eb239ffa5615bdb87ffbdd64e20904f447a5.zip
fix: respect semver build identifiers for nix (#11915)
-rw-r--r--nix/node_modules.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/node_modules.nix b/nix/node_modules.nix
index 6c188c07c..6b5958470 100644
--- a/nix/node_modules.nix
+++ b/nix/node_modules.nix
@@ -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 = ../.;