summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-11-03 10:30:20 +0100
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-02-04 17:32:58 +1000
commita66d9c85c98fa11cf6eaa3ea6af279d1473d1a96 (patch)
tree44bb4c46bac3c277c2e32cf2bb6f3bdf2c57ef3b /pkgs/development/compilers
parentc6c7162876956ad42b07a47fd2dcd9328f338ca4 (diff)
downloadnixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar.gz
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar.bz2
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar.lz
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar.xz
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.tar.zst
nixpkgs-a66d9c85c98fa11cf6eaa3ea6af279d1473d1a96.zip
go: Fix the build in non-root sandboxes
Workaround for <https://github.com/golang/go/issues/42525>

(Also related to <https://github.com/NixOS/nix/issues/3245>)
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/go/1.16.nix1
-rw-r--r--pkgs/development/compilers/go/1.17.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/go/1.16.nix b/pkgs/development/compilers/go/1.16.nix
index 50fad5efe23..c9d4065ec92 100644
--- a/pkgs/development/compilers/go/1.16.nix
+++ b/pkgs/development/compilers/go/1.16.nix
@@ -168,6 +168,7 @@ stdenv.mkDerivation rec {
     ./creds-test.patch
     ./go-1.9-skip-flaky-19608.patch
     ./go-1.9-skip-flaky-20072.patch
+    ./skip-chown-tests-1.16.patch
     ./skip-external-network-tests-1.16.patch
     ./skip-nohup-tests.patch
     ./skip-cgo-tests-1.15.patch
diff --git a/pkgs/development/compilers/go/1.17.nix b/pkgs/development/compilers/go/1.17.nix
index 35c16f49f70..e7ba6100d0b 100644
--- a/pkgs/development/compilers/go/1.17.nix
+++ b/pkgs/development/compilers/go/1.17.nix
@@ -168,6 +168,7 @@ stdenv.mkDerivation rec {
     ./creds-test.patch
     ./go-1.9-skip-flaky-19608.patch
     ./go-1.9-skip-flaky-20072.patch
+    ./skip-chown-tests-1.16.patch
     ./skip-external-network-tests-1.16.patch
     ./skip-nohup-tests.patch
     ./skip-cgo-tests-1.15.patch