Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 35ad2ebfe75d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5d243f0807e
Choose a head ref
  • 3 commits
  • 2 files changed
  • 3 contributors

Commits on Nov 5, 2020

  1. tzdata: 2019c -> 2020c

    (cherry picked from commit 8904ce2)
    (cherry picked from commit f7360dc)
    ajs124 authored and roberth committed Nov 5, 2020
    Copy the full SHA
    4fc485e View commit details
  2. go_bootstrap: disable failing timezone tests

    (cherry picked from commit 8c9bb91)
    zowoq authored and roberth committed Nov 5, 2020
    Copy the full SHA
    2b5cfa7 View commit details
  3. Merge pull request #102879 from hercules-ci/tzdata-2020c-staging-20.09

    [staging-20.09] tzdata 2020c
    roberth authored Nov 5, 2020
    Copy the full SHA
    f5d243f View commit details
Showing with 5 additions and 12 deletions.
  1. +3 −3 pkgs/data/misc/tzdata/default.nix
  2. +2 −9 pkgs/development/compilers/go/1.4.nix
6 changes: 3 additions & 3 deletions pkgs/data/misc/tzdata/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

stdenv.mkDerivation rec {
pname = "tzdata";
version = "2019c";
version = "2020c";

srcs =
[ (fetchurl {
url = "https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz";
sha256 = "0z7w1yv37cfk8yhix2cillam091vgp1j4g8fv84261q9mdnq1ivr";
sha256 = "1nab36g5ibs88wg2mzpzygi1wh5gh2al1qjvbk8sb90sbw8ar43q";
})
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz";
sha256 = "1m3y2rnf1nggxxhxplab5zdd5whvar3ijyrv7lifvm82irkd7szn";
sha256 = "1r5zrk1k3jhhilkhrx82fd19rvysji8jk05gq5v0rndmyx07zacs";
})
];

11 changes: 2 additions & 9 deletions pkgs/development/compilers/go/1.4.nix
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
cd go
patchShebangs ./ # replace /bin/bash
# Disable timezone tests (these fail when `tzdata` is updated)
rm src/time/{example,format}_test.go
# Disabling the 'os/http/net' tests (they want files not available in
# chroot builds)
rm src/net/{multicast_test.go,parse_test.go,port_test.go}
@@ -56,8 +58,6 @@ stdenv.mkDerivation rec {
sed -i '/TestDialTimeout/areturn' src/net/dial_test.go
# Disable the hostname test
sed -i '/TestHostname/areturn' src/os/os_test.go
# ParseInLocation fails the test
sed -i '/TestParseInSydney/areturn' src/time/format_test.go
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
'' + lib.optionalString stdenv.isLinux ''
@@ -119,13 +119,6 @@ stdenv.mkDerivation rec {
patches = [
./remove-tools-1.4.patch
./creds-test-1.4.patch

# This test checks for the wrong thing with recent tzdata. It's been fixed in master but the patch
# actually works on old versions too.
(fetchpatch {
url = "https://github.com/golang/go/commit/91563ced5897faf729a34be7081568efcfedda31.patch";
sha256 = "1ny5l3f8a9dpjjrnjnsplb66308a0x13sa0wwr4j6yrkc8j4qxqi";
})
];

GOOS = if stdenv.isDarwin then "darwin" else "linux";