mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #313739 from pluiedev/zhf-24.05/mods
mods: unbreak, modernize
This commit is contained in:
commit
5a414f74b0
@ -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 {
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user