Commit Graph

17715 Commits

Author SHA1 Message Date
Joachim Fasting
ecd0e1a2c7
torbrowser: reduce risk of stale Nix store references
This patch restructures the expression and wrapper to minimize Nix store
references captured by the user's state directory.

The previous version would write lots of references to the Nix store into
the user's state directory, resulting in synchronization issues between
the Store and the local state directory.  At best, this would cause TBB to
stop working when the version used to instantiate the local state was
garbage collected; at worst, a user would continue to use the old version
even after an upgrade.

To solve the issue, hard-code as much as possible at the Store side and
minimize the amount of stuff being copied into the local state dir.
Currently, only a few files generated at firefox startup and fontconfig
cache files end up capturing store paths; these files are simply removed
upon every startup.  Otherwise, no capture should occur and the user
should always be using the TBB associated with the tor-browser wrapper
script.

To check for stale Store paths, do
   `grep -Ero '/nix/store/[^/]+' ~/.local/share/tor-browser`
This command should *never* return any other store path than the one
associated with the current tor-browser wrapper script, even after an
update (assuming you've run tor-browser at least once after updating).
Deviations from this general rule are considered bugs from now on.

Note that no attempt has been made to support pluggable transports; they
are still broken with this patch (to be fixed in a follow-up patch).

User visible changes:
- Wrapper retains only environment variables required for TBB to work
- pulseaudioSupport can be toggled independently of mediaSupport (the
  latter weakly implies the former).
- Store local state under $TBB_HOME.  Defaults to $XDG_DATA_HOME/tor-browser
- Stop obnoxious first-run stuff (NoScript redirect, in particular)
- Set desktop item GenericName to Web Browser

Some minor enhancements:
- Disable Hydra builds
- Specify system -> source mapping to make it easier to
  extend supported platforms.
2017-03-25 15:59:18 +01:00
Robin Gloster
4f9e590c06
gitkraken: clean-up 2017-03-25 12:52:01 +01:00
Joachim Fasting
101cb04b6a
surf-webkit2: 2017-03-06 -> 2017-03-22
Fixes a race condition
2017-03-25 11:58:30 +01:00
Tuomas Tynkkynen
186cc512a6 freicoin: Fix eval 2017-03-25 02:12:14 +02:00
Joachim F
872a15a0ba Merge pull request #24301 from winniequinn/gitkraken-2.2.1
gitkraken: 2.2.0 -> 2.2.1
2017-03-25 00:14:08 +01:00
Joachim F
550459c11f Merge pull request #24284 from Ma27/update-geogebra
geogebra: 5-0-338-0 -> 5-0-346-0
2017-03-24 23:51:12 +01:00
Michael Raskin
0aa11219b5 Merge pull request #24224 from ndowens/freicoin
freicoin: 0.8.3-1 -> 0.8.6-2; Moved to correct category
2017-03-24 23:42:52 +01:00
Michael Raskin
6bdf8cc015 Merge pull request #24300 from winniequinn/vscode-1.10.2
vscode: 1.10.0 -> 1.10.2
2017-03-24 22:42:35 +01:00
Winnie Quinn
8c2f986ed1 gitkraken: 2.2.0 -> 2.2.1 2017-03-24 17:31:41 -04:00
Maximilian Bosch
9787b2b808
geogebra: 5-0-338-0 -> 5-0-346-0 2017-03-24 22:16:57 +01:00
Winnie Quinn
1b4151b12f vscode: 1.10.0 -> 1.10.2
In addition to the version bump, this also fixes a broken install phase
on macOS. The install now completes properly on macOS 10.12 and
"bin/code" is now correctly linked to the binary within the bundle.
2017-03-24 16:48:24 -04:00
Vladimír Čunát
455ce3528c
Merge branch 'staging' 2017-03-24 21:07:55 +01:00
ndowens
bc4dc9cb75 codeblocks: 13.12 -> 16.01
(@7c6f434c) move the buildInputs missed in the initial version to
nativeBuildInputs, too.

Pushed instead of #24074
2017-03-24 17:49:30 +01:00
Peter Hoeg
317734f99c speedcrunch: stick to qt 5.7 as 5.8 is broken 2017-03-25 00:39:30 +08:00
ndowens
c86f005137 direwolf: 1.2 -> 1.3
alaLib as optional

Remove extra stdenv.lib

(@7c6f434c) fixed a typo - pushing instead of #24105
2017-03-24 17:27:59 +01:00
Michael Raskin
a7cb6997aa bitcoin-classic: 1.2.1 -> 1.2.3
Update after #23577
2017-03-24 16:59:24 +01:00
ndowens
a23b18cfb8 bitcoin-classic: 0.11.2.cl1.b1 -> 1.2.1 2017-03-24 16:59:24 +01:00
Thomas Tuegel
39fdbbb71e
Merge branch 'master--plasma-5' 2017-03-24 10:39:30 -05:00
Michael Raskin
26fe842ec5 Merge pull request #24221 from ndowens/gogs
gogs: 0.9.113 -> 0.10.18
2017-03-24 16:28:05 +01:00
Eric Litak
92a8c86647 sox: added enableLibpulseaudio option 2017-03-24 07:55:04 -07:00
Thomas Tuegel
e44cd00c2a
sddm: fix wrapper
When I reduced the closure size, I broke the built-in theme. When I reverted
that fix, the built-in theme worked but the Plasma theme was broken. Now the
wrapper is fixed so that both themes work.
2017-03-24 09:46:05 -05:00
Nikolay Amiantov
8c98df0136 octoprint-plugins.m33-fio: fix incompatibility with new OctoPrint 2017-03-24 15:47:33 +03:00
ndowens
82624cbb9a Merge pull request #24235 from ndowens/gpscorrelate
gpscorrelate: 1.6.0 -> 1.6.1
2017-03-23 20:00:49 -05:00
Thomas Tuegel
8e3d3b5328
Revert "sddm: propagate qtbase input"
This reverts commit 3de6ccd5b2.
2017-03-23 19:20:24 -05:00
Peter Hoeg
7833436098 kodi: 17.0 -> 17.1 2017-03-24 08:19:16 +08:00
romildo
b1a9bcfb16 awesome: menubar should take XDG_HOME_DIR and XDG_DATA_DIRS into account 2017-03-23 17:52:18 +01:00
ndowens
bf7847ec7c galculator: 2.1.3 -> 2.1.4 (#24230) 2017-03-23 15:00:32 +00:00
Vladimír Čunát
c1a9dc3d37
Merge branch 'master' into staging 2017-03-23 13:31:28 +01:00
Joachim Fasting
a49df2a894
tribler: fixup revision
Using `rev = "v${revision}"` results in a "bad reference" error;
use the plain revision instead.
2017-03-23 12:55:57 +01:00
Joachim F
29a2978fdf Merge pull request #24227 from ebzzry/emem-0.2.47
emem: 0.2.46 -> 0.2.47
2017-03-23 11:58:16 +01:00
Joachim F
3d610bbb39 Merge pull request #24233 from ndowens/gpa
gpa: 0.9.9 -> 0.9.10
2017-03-23 11:58:07 +01:00
Vladimír Čunát
50d6617e87
Merge #24232: gkrellm: 2.3.5 -> 2.3.10 2017-03-23 11:53:08 +01:00
Vladimír Čunát
817d8a671c
gkrellm: fix homepage 2017-03-23 11:52:37 +01:00
Vladimír Čunát
e0bf35f0e5
Merge #24236: remove bbenoist from maintainers 2017-03-23 08:49:03 +01:00
Peter Hoeg
c6c92a1d04 terraform: only run tests from 0.9.0 onwards 2017-03-23 15:01:57 +08:00
Michael Raskin
5e0d0f4944 Merge pull request #24234 from ndowens/master
gphoto2: 2.5.8 -> 2.5.11
2017-03-23 07:22:44 +01:00
Michael Raskin
e77d1aaca2 Merge pull request #24231 from ndowens/getiplayer
get_iplayer: 2.97 -> 2.99
2017-03-23 07:20:09 +01:00
Rommel M. Martinez
e68eeb29ae emem: 0.2.46 -> 0.2.47 2017-03-23 11:04:08 +08:00
ndowens
39c39f2cbf gpscorrelate: 1.6.0 -> 1.6.1 2017-03-22 21:25:03 -05:00
Baptist BENOIST
7d72b9b74e Remove bbenoist from maintainers
Sorry guys but I did not used Nix since months and cannot spend time
maintaining my previous work...
2017-03-23 03:03:04 +01:00
ndowens
89e2a4c390 gphoto2: 2.5.8 -> 2.5.11 2017-03-22 20:52:41 -05:00
ndowens
2477196fb1 gpa: 0.9.9 -> 0.9.10 2017-03-22 20:44:55 -05:00
ndowens
5fbdb796cd gkrellm: 2.3.5 -> 2.3.10 2017-03-22 20:35:44 -05:00
ndowens
bd0f070b98 get_iplayer: 2.97 -> 2.99 2017-03-22 20:27:43 -05:00
Joachim Fasting
c6322a28d4
electrum: 2.8.1 -> 2.8.2
Release 2.8.2
  * show paid invoices in history tab
  * improve CPFP dialog
  * fixes for trezor, keepkey
  * other minor bugfixes
https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES
2017-03-23 01:03:06 +01:00
ndowens
375639518d freicoin: 0.8.3-1 -> 0.8.6-2; Moved to correct category 2017-03-22 17:46:41 -05:00
Michael Raskin
3878242ed0 Merge pull request #24222 from ndowens/recoll
recoll: 1.21.3 -> 1.23.1
2017-03-22 23:22:10 +01:00
ndowens
c9bcbaa75a recoll: 1.21.3 -> 1.23.1 2017-03-22 17:14:30 -05:00
ndowens
bab3594b54 gogs: 0.9.113 -> 0.10.18 2017-03-22 16:52:52 -05:00
Richard Lupton
8eb87d0f1a
kubernetes-helm: 2.1.3 -> 2.2.3 2017-03-22 21:34:29 +00:00