summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-02-20 00:19:49 +0000
committerzimbatm <zimbatm@zimbatm.com>2016-02-26 17:58:58 +0000
commit58dbaf69b7abd7a3483d47bd4eede02d68fcdc78 (patch)
tree8edeac70ba86ecae39764c456a1e0af12c020f45 /pkgs/development/compilers
parent53ea7dee75b90181683c59869940db85cabc2d78 (diff)
downloadnixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar.gz
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar.bz2
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar.lz
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar.xz
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.tar.zst
nixlib-58dbaf69b7abd7a3483d47bd4eede02d68fcdc78.zip
go: remove ssl certs patches
Those are not needed since we now use a standard location to store our
bundles.

See bfebc7342e42ebe7a57c9e21b11ab19579189bfd
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/go/1.4.nix1
-rw-r--r--pkgs/development/compilers/go/1.5.nix1
-rw-r--r--pkgs/development/compilers/go/cacert-1.4.patch14
-rw-r--r--pkgs/development/compilers/go/cacert-1.5.patch8
4 files changed, 0 insertions, 24 deletions
diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix
index d25001697443..77349a810845 100644
--- a/pkgs/development/compilers/go/1.4.nix
+++ b/pkgs/development/compilers/go/1.4.nix
@@ -84,7 +84,6 @@ stdenv.mkDerivation rec {
   '';
 
   patches = [
-    ./cacert-1.4.patch
     ./remove-tools-1.4.patch
   ];
 
diff --git a/pkgs/development/compilers/go/1.5.nix b/pkgs/development/compilers/go/1.5.nix
index 54c8cf219d5f..b5bfac850280 100644
--- a/pkgs/development/compilers/go/1.5.nix
+++ b/pkgs/development/compilers/go/1.5.nix
@@ -89,7 +89,6 @@ stdenv.mkDerivation rec {
   '';
 
   patches = [
-    ./cacert-1.5.patch
     ./remove-tools-1.5.patch
   ]
   # -ldflags=-s is required to compile on Darwin, see
diff --git a/pkgs/development/compilers/go/cacert-1.4.patch b/pkgs/development/compilers/go/cacert-1.4.patch
deleted file mode 100644
index 5346d3f39505..000000000000
--- a/pkgs/development/compilers/go/cacert-1.4.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Go comes with hardcoded cacert. We add the usual in NixOS,
-for easier NixOS life.
-
-diff -r 14854533dcc7 src/crypto/x509/root_unix.go
---- a/src/crypto/x509/root_unix.go	Thu Dec 11 11:27:56 2014 +1100
-+++ b/src/crypto/x509/root_unix.go	Tue Jan 06 00:41:31 2015 -0600
-@@ -17,6 +17,7 @@
- 	"/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
- 	"/etc/pki/tls/cacert.pem",                // OpenELEC
- 	"/etc/certs/ca-certificates.crt",         // Solaris 11.2+
-+	"/etc/ssl/certs/ca-bundle.crt",           // NixOS
- }
- 
- // Possible directories with certificate files; stop after successfully
diff --git a/pkgs/development/compilers/go/cacert-1.5.patch b/pkgs/development/compilers/go/cacert-1.5.patch
deleted file mode 100644
index 32c322a104e6..000000000000
--- a/pkgs/development/compilers/go/cacert-1.5.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/src/crypto/x509/root_linux.go	2015-08-19 23:06:11.115133174 +0200
-+++ b/src/crypto/x509/root_linux.go	2015-08-19 23:07:04.238507161 +0200
-@@ -10,4 +10,5 @@
- 	"/etc/pki/tls/certs/ca-bundle.crt",   // Fedora/RHEL
- 	"/etc/ssl/ca-bundle.pem",             // OpenSUSE
- 	"/etc/pki/tls/cacert.pem",            // OpenELEC
-+	"/etc/ssl/certs/ca-bundle.crt",       // NixOS
- }