Merge pull request #313739 from pluiedev/zhf-24.05/mods

mods: unbreak, modernize
This commit is contained in:
Robert Scott 2024-05-22 22:55:04 +01:00 committed by GitHub
commit 5a414f74b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 9 deletions

View File

@ -1,9 +1,10 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gitUpdater
, testers
, mods
{
lib,
buildGoModule,
fetchFromGitHub,
gitUpdater,
testers,
mods,
}:
buildGoModule rec {
@ -19,7 +20,14 @@ buildGoModule rec {
vendorHash = "sha256-BL5bxyeVkcm7GO1Kzk9d/hj2wY50UhauEFq9YQ/JbCE=";
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
ldflags = [
"-s"
"-w"
"-X=main.Version=${version}"
];
# These tests require internet access.
checkFlags = [ "-skip=^TestLoad/http_url$|^TestLoad/https_url$" ];
passthru = {
updateScript = gitUpdater {

View File

@ -1067,8 +1067,6 @@ with pkgs;
mod = callPackage ../development/tools/mod { };
mods = callPackage ../tools/misc/mods { };
mongosh = callPackage ../development/tools/mongosh { };
mya = callPackage ../applications/misc/mya { };