···1+From 9a6718a6355d89b73011fbd1eb1bba8dcfa021e6 Mon Sep 17 00:00:00 2001
2+From: regnat <rg@regnat.ovh>
3+Date: Wed, 3 Nov 2021 10:17:28 +0100
4+Subject: [PATCH] Disable the chown tests
5+6+See https://github.com/golang/go/issues/42525 and
7+https://github.com/NixOS/nix/issues/3245
8+---
9+ os/os_unix_test.go | 3 +++
10+ 1 file changed, 3 insertions(+)
11+12+diff --git a/os/os_unix_test.go b/os/os_unix_test.go
13+index 51693fd..0936542 100644
14+--- a/src/os/os_unix_test.go
15++++ b/src/os/os_unix_test.go
16+@@ -40,6 +40,7 @@ func checkUidGid(t *testing.T, path string, uid, gid int) {
17+ }
18+19+ func TestChown(t *testing.T) {
20++ t.Skipf("https://github.com/golang/go/issues/42525")
21+ // Use TempDir() to make sure we're on a local file system,
22+ // so that the group ids returned by Getgroups will be allowed
23+ // on the file. On NFS, the Getgroups groups are
24+@@ -83,6 +84,7 @@ func TestChown(t *testing.T) {
25+ }
26+27+ func TestFileChown(t *testing.T) {
28++ t.Skipf("https://github.com/golang/go/issues/42525")
29+ // Use TempDir() to make sure we're on a local file system,
30+ // so that the group ids returned by Getgroups will be allowed
31+ // on the file. On NFS, the Getgroups groups are
32+@@ -126,6 +128,7 @@ func TestFileChown(t *testing.T) {
33+ }
34+35+ func TestLchown(t *testing.T) {
36++ t.Skipf("https://github.com/golang/go/issues/42525")
37+ // Use TempDir() to make sure we're on a local file system,
38+ // so that the group ids returned by Getgroups will be allowed
39+ // on the file. On NFS, the Getgroups groups are
40+--
41+2.31.1
42+
···692 let
693 # Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim
694 ftdetect = builtins.toFile "tup.vim" ''
695- au BufNewFile,BufRead Tupfile, *.tup set filetype=tup
696 '';
697 in
698 buildVimPluginFrom2Nix {
···692 let
693 # Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim
694 ftdetect = builtins.toFile "tup.vim" ''
695+ au BufNewFile,BufRead Tupfile,*.tup setf tup
696 '';
697 in
698 buildVimPluginFrom2Nix {
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23- version = "2022.1.21";
2425 src = fetchPypi {
26 inherit pname;
27 version = builtins.replaceStrings [ ".0" ] [ "." ] version;
28- sha256 = "sha256-Ig7EBzibXqcuJd/BHDDlQ0ibkAdcVTEdUlXiBF24qeI=";
29 };
3031 propagatedBuildInputs = [ websockets mutagen ]
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23+ version = "2022.2.3";
2425 src = fetchPypi {
26 inherit pname;
27 version = builtins.replaceStrings [ ".0" ] [ "." ] version;
28+ sha256 = "sha256-lV3RgUq9F4uv8jg9FULv7kit/J3p4vXIZ4SwnNb1omI=";
29 };
3031 propagatedBuildInputs = [ websockets mutagen ]