grobi: fix failing test on go 1.15

This commit is contained in:
zowoq 2020-11-19 08:50:02 +10:00
parent f2201dbb5d
commit b23d2973b6
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, fetchpatch }:
buildGoModule rec {
version = "0.6.0";
@ -13,6 +13,14 @@ buildGoModule rec {
vendorSha256 = "1ibwx5rbxkygfx78j3g364dmbwwa5b34qmzq3sqcbrsnv8rzrwvj";
patches = [
# fix failing test on go 1.15
(fetchpatch {
url = "https://github.com/fd0/grobi/commit/176988ab087ff92d1408fbc454c77263457f3d7e.patch";
sha256 = "0j8y3gns4lm0qxqxzmdn2ll0kq34mmfhf83lvsq13iqhp5bx3y31";
})
];
meta = with stdenv.lib; {
homepage = "https://github.com/fd0/grobi";
description = "Automatically configure monitors/outputs for Xorg via RANDR";

View file

@ -2236,9 +2236,7 @@ in
gringo = callPackage ../tools/misc/gringo { };
grobi = callPackage ../tools/X11/grobi {
buildGoModule = buildGo114Module;
};
grobi = callPackage ../tools/X11/grobi { };
gscan2pdf = callPackage ../applications/graphics/gscan2pdf { };