From 1f9c7f33930a657c0c7b0500a097f8c38d474832 Mon Sep 17 00:00:00 2001 From: "Berk D. Demir" Date: Tue, 7 Jun 2022 00:57:47 +0000 Subject: [PATCH] runitor: 0.10.0 -> 0.10.1 - New release fixing a nil dereference - Remove patches that are already part of the new rel - Rollback ldflags change from #175973 The -s flag implies -w on every platform but Darwin. --- pkgs/tools/system/runitor/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/system/runitor/default.nix b/pkgs/tools/system/runitor/default.nix index 965813f6e371..1108362010ca 100644 --- a/pkgs/tools/system/runitor/default.nix +++ b/pkgs/tools/system/runitor/default.nix @@ -2,26 +2,18 @@ buildGoModule rec { pname = "runitor"; - version = "0.10.0"; + version = "0.10.1"; vendorSha256 = null; src = fetchFromGitHub { owner = "bdd"; repo = "runitor"; rev = "v${version}"; - sha256 = "sha256-96WKMeRkkG6en9JXaZjjnqeZOcLSII3knx8cdjTBAKw="; + sha256 = "sha256-qqfaA1WAHkuiyzyQbrSvnmwuRXElArErJ6PtLPOxzsg="; }; ldflags = [ - "-s" "-X main.Version=v${version}" - ]; - - patches = [ - (fetchpatch { - name = "backport_TestPostRetries-timeout-fix.patch"; - url = "https://github.com/bdd/runitor/commit/418142585a8387224825637cca3fe275d3c3d147.patch"; - sha256 = "sha256-cl+KYoiHm2ioFuJVKokZkglIzL/NaEd5JNUuj4g8MUg="; - }) + "-s" "-w" "-X main.Version=v${version}" ]; passthru.tests.version = testers.testVersion {