home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit e88da1376c5c6de5e0542c041e835331ac6adbf5
parent d1270b5eb8611db493461ca50fed3332b2c94cfd
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 17 Nov 2022 17:40:57 +0100

nix/packages: switch to use buildGoModule by default

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mnix/packages/operator-tooling/default.nix | 4++--
Mnix/packages/tkn/tkn-local.nix | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/nix/packages/operator-tooling/default.nix b/nix/packages/operator-tooling/default.nix @@ -1,6 +1,6 @@ -{ stdenv, lib, buildGo117Module, git, fetchFromGitHub }: +{ stdenv, lib, buildGoModule, git, fetchFromGitHub }: -buildGo117Module rec { +buildGoModule rec { name = "operator-tool-${version}"; version = "0.0.1"; rev = "v${version}"; diff --git a/nix/packages/tkn/tkn-local.nix b/nix/packages/tkn/tkn-local.nix @@ -1,9 +1,9 @@ -{ stdenv, lib, buildGo117Module, fetchFromGitHub }: +{ stdenv, lib, buildGoModule, fetchFromGitHub }: with lib; rec { tknLocalGen = { version, sha256 }: - buildGo117Module rec { + buildGoModule rec { pname = "tkn-local"; name = "${pname}-${version}";