siyuan: use buildGo123Module

This commit is contained in:
TomaSajt 2024-09-25 21:19:05 +02:00
parent 58dd4924b9
commit 5fcd8ed7e6
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -2,8 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
buildGoModule,
go_1_23,
buildGo123Module,
substituteAll,
pandoc,
nodejs,
@ -45,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-xGxZ6xu8R/JoW4X+drEv943y1jah4ZijHB+RNN6hxig=";
};
kernel = buildGoModule.override { go = go_1_23; } {
kernel = buildGo123Module {
name = "${finalAttrs.pname}-${finalAttrs.version}-kernel";
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.src.name}/kernel";