1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

siyuan: use buildGo123Module (#344509)

This commit is contained in:
Sandro 2024-09-26 00:58:20 +02:00 committed by GitHub
commit ece848e144
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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";