208135 Commits

Author SHA1 Message Date
Pavel Chuprikov
ced3381722 python3Packages.toggl-cli: relax pendulum bounds
* toggl-cli fails to compile with pendulum 2.0.5
    * toggl-cli needs `pkg_resources` from `setuptools`
2019-12-30 15:50:51 +01:00
ajs124
863794cbba yeetgif: init at 1.23.5 2019-12-30 15:49:34 +01:00
Chris Ostrouchov
0a126855c0
python3Packages.tifffile: refactor fix broken build 2019-12-30 08:57:05 -05:00
Tim Steinbach
bdf02de121
linux_latest-libre: 17151 -> 17153 2019-12-30 08:56:30 -05:00
Chris Ostrouchov
e291a32cd4
pythonPackages.imagecodecs-lite: 2019.4.20 -> 2019.12.3 2019-12-30 08:56:03 -05:00
Chris Ostrouchov
8bb4ccd1b5
pythonPackages.diskcache: refactor fix broken build 2019-12-30 08:56:03 -05:00
Chris Ostrouchov
b555997f31
python3Packages.fsspec: 0.5.2 -> 0.6.2 enable tests 2019-12-30 08:56:03 -05:00
aszlig
ccf55bead1
nginx: Clear Last-Modified if ETag is from store
This is what I've suspected a while ago[1]:

> Heads-up everyone: After testing this in a few production instances,
> it seems that some browsers still get cache hits for new store paths
> (and changed contents) for some reason. I highly suspect that it might
> be due to the last-modified header (as mentioned in [2]).
>
> Going to test this with last-modified disabled for a little while and
> if this is the case I think we should improve that patch by disabling
> last-modified if serving from a store path.

Much earlier[2] when I reviewed the patch, I wrote this:

> Other than that, it looks good to me.
>
> However, I'm not sure what we should do with Last-Modified header.
> From RFC 2616, section 13.3.4:
>
> - If both an entity tag and a Last-Modified value have been
>   provided by the origin server, SHOULD use both validators in
>   cache-conditional requests. This allows both HTTP/1.0 and
>   HTTP/1.1 caches to respond appropriately.
>
> I'm a bit nervous about the SHOULD here, as user agents in the wild
> could possibly just use Last-Modified and use the cached content
> instead.

Unfortunately, I didn't pursue this any further back then because
@pbogdan noted[3] the following:

> Hmm, could they (assuming they are conforming):
>
>  * If an entity tag has been provided by the origin server, MUST
>    use that entity tag in any cache-conditional request (using If-
>    Match or If-None-Match).

Since running with this patch in some deployments, I found that both
Firefox and Chrome/Chromium do NOT re-validate against the ETag if the
Last-Modified header is still the same.

So I wrote a small NixOS VM test with Geckodriver to have a test case
which is closer to the real world and I indeed was able to reproduce
this.

Whether this is actually a bug in Chrome or Firefox is an entirely
different issue and even IF it is the fault of the browsers and it is
fixed at some point, we'd still need to handle this for older browser
versions.

Apart from clearing the header, I also recreated the patch by using a
plain "git diff" with a small description on top. This should make it
easier for future authors to work on that patch.

[1]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-495072764
[2]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-451644084
[3]: https://github.com/NixOS/nixpkgs/pull/48337#issuecomment-451646135

Signed-off-by: aszlig <aszlig@nix.build>
2019-12-30 14:30:36 +01:00
Aaron Andersen
0b960bccd7
Merge pull request #62868 from tobim/pkgs/reredirect
reredirect: init at 0.2
2019-12-30 08:29:38 -05:00
Silje Enge Kristensen
c010798cda
protonmail-bridge: 1.2.2-1 -> 1.2.3-1 2019-12-30 14:19:39 +01:00
Maximilian Bosch
59ab29fe88
virtualbox: fix build
Newer `iasl`-versions disallow strings within certain declarations[1]
which breaks the virtualbox build as it relies on exactly this
behavior[2].

This should be removed again when updating virtualbox to 6.1.

[1] https://acpica.org/node/172
[2] https://hydra.nixos.org/build/108774352
2019-12-30 14:11:32 +01:00
Maximilian Bosch
76a8f48119
iasl: 20191018 -> 20191213
https://acpica.org/node/175
2019-12-30 14:11:04 +01:00
Robin Gloster
5f2d96ba2e
glibc: NIX_CFLAGS_COMPILE -> always string 2019-12-30 13:33:16 +01:00
Merijn Broeren
a13649c6b1
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 13:31:06 +01:00
Robin Gloster
65395a7105
treewide: installTargets is a list 2019-12-30 13:29:27 +01:00
Robin Gloster
2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
Maximilian Bosch
02f92455c4
qtcurve: fix build w/gcc9
https://hydra.nixos.org/build/108759256
2019-12-30 13:19:43 +01:00
Oleksii Filonenko
bf17262578
nixos/what: init 2019-12-30 13:59:52 +02:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Maximilian Bosch
7acacddfa5
go*: fix aarch64 build
Some tests don't work well with gcc9 atm, those tests use CC from
`buildPackages.stdenv.cc` which had to be modified for Aarch64 as well.
2019-12-30 12:42:28 +01:00
Oleksii Filonenko
014ffad408
what: init at 0.5.1 2019-12-30 13:40:22 +02:00
Maximilian Bosch
646c641358
Merge pull request #76578 from xwvvvvwx/wireguard-tools-1.0.20191226
wireguard-tools 1.0.20191226 / wireguard 0.0.20191226
2019-12-30 12:22:37 +01:00
Robin Gloster
08d5fc3934
monkeysphere: *Flags are lists 2019-12-30 12:16:17 +01:00
Robin Gloster
4d4a2b4724
tmpwatch: *Flags are lists 2019-12-30 12:15:32 +01:00
Robin Gloster
e41bead685
multitail: *Flags are lists 2019-12-30 12:15:31 +01:00
Robin Gloster
0f45b91746
mktorrent: *Flags are lists 2019-12-30 12:15:31 +01:00
Robin Gloster
96fc34a8cd
pfstools: *Flags are lists 2019-12-30 12:15:30 +01:00
Robin Gloster
0a82a093d7
vobcopy: *Flags are lists 2019-12-30 12:15:30 +01:00
Robin Gloster
f85cfd274d
uhub: *Flags are lists 2019-12-30 12:15:29 +01:00
Robin Gloster
8fb0e16133
munin: *Flags are lists 2019-12-30 12:15:29 +01:00
Robin Gloster
12df4ccf7c
rtl8723bs: *Flags are lists 2019-12-30 12:15:29 +01:00
Robin Gloster
9052e1c5b7
pingus: *Flags are lists 2019-12-30 12:15:28 +01:00
Robin Gloster
8df63ca72f
fontconfig: *Flags are lists 2019-12-30 12:15:28 +01:00
Robin Gloster
7139d2c881
vxl: *Flags are lists 2019-12-30 12:15:28 +01:00
Robin Gloster
c739183eef
tachyon: *Flags are lists 2019-12-30 12:15:27 +01:00
Robin Gloster
5572288ec2
openvdb: *Flags are lists 2019-12-30 12:15:26 +01:00
Robin Gloster
81548bf7da
olm: *Flags are lists 2019-12-30 12:15:26 +01:00
Robin Gloster
5117f77246
spectrwm: *Flags are lists 2019-12-30 12:15:25 +01:00
Robin Gloster
1065d80dd3
simgrid: *Flags are lists 2019-12-30 12:15:25 +01:00
Robin Gloster
371d3fb9b3
notes-up: *Flags are lists 2019-12-30 12:15:24 +01:00
Robin Gloster
4f3895b635
pond: *Flags are lists 2019-12-30 12:15:24 +01:00
Robin Gloster
e25e1bf6f7
slmenu: *Flags are lists 2019-12-30 12:15:23 +01:00
Robin Gloster
269849de06
pdfpc: *Flags are lists 2019-12-30 12:15:23 +01:00
Robin Gloster
78cf5eda69
nedit: *Flags are lists 2019-12-30 12:15:22 +01:00
Robin Gloster
43e91d6f07
pianobar: *Flags are lists 2019-12-30 11:44:38 +01:00
Robin Gloster
6c40a45b88
argyllcms: *Flags are lists 2019-12-30 11:13:42 +01:00
Robin Gloster
76b774e89a
zip: *Flags are lists 2019-12-30 11:13:42 +01:00
Robin Gloster
e49f0d4985
unzip: *Flags are lists 2019-12-30 11:13:42 +01:00
Robin Gloster
53cbd1b7bf
bash: *Flags are lists 2019-12-30 11:13:41 +01:00
Robin Gloster
7def878f1e
xorg.*: *Flags are lists 2019-12-30 11:13:41 +01:00