etcd_3_5: move buildGoModule pinning to top-level to comply with override interface

This commit is contained in:
superherointj 2025-08-02 12:22:52 -03:00
parent 65cbe525f0
commit 70f1d94f71
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
lib,
buildGo123Module,
buildGoModule,
fetchFromGitHub,
symlinkJoin,
nixosTests,
@ -33,7 +33,7 @@ let
platforms = platforms.darwin ++ platforms.linux;
};
etcdserver = buildGo123Module {
etcdserver = buildGoModule {
pname = "etcdserver";
inherit
@ -60,7 +60,7 @@ let
ldflags = [ "-X go.etcd.io/etcd/api/v3/version.GitSHA=GitNotFound" ];
};
etcdutl = buildGo123Module {
etcdutl = buildGoModule {
pname = "etcdutl";
inherit
@ -75,7 +75,7 @@ let
modRoot = "./etcdutl";
};
etcdctl = buildGo123Module {
etcdctl = buildGoModule {
pname = "etcdctl";
inherit

View File

@ -10137,7 +10137,9 @@ with pkgs;
etcd = etcd_3_5;
etcd_3_4 = callPackage ../servers/etcd/3.4.nix { };
etcd_3_5 = callPackage ../servers/etcd/3_5 { };
etcd_3_5 = callPackage ../servers/etcd/3_5 {
buildGoModule = buildGo123Module;
};
prosody = callPackage ../servers/xmpp/prosody {
withExtraLibs = [ ];