Commit Graph

28662 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
Pascal Wittmann
54c15923c2 Merge pull request #24285 from Ma27/update-composer
phpPackages.composer: 1.3.2 -> 1.4.1
2017-03-25 14:28:48 +01:00
goibhniu
efc457c6e2 Merge pull request #23251 from juliendehos/hieroglyph
hieroglyph: init at 0.7.1
2017-03-25 13:00:34 +01:00
Vincent Laporte
6e0b7273a2 ocamlPackages.stdio: init at 0.9.0
Stdio implements simple input/output functionalities for OCaml.

Homepage: https://github.com/janestreet/stdio
2017-03-25 07:06:49 +00:00
Vincent Laporte
a7a3d91039 ocamlPackages.ppx_traverse_builtins: init at 0.9.0
This OCaml library defines the default methods for builtin types
(int, string, list, ...) for Ppx_traverse.

Homepage: https://github.com/janestreet/ppx_traverse_builtins
2017-03-25 06:57:46 +00:00
ndowens
5f61654864 Merge pull request #24225 from rlupton20/cde
cde: init at 0.1
2017-03-24 21:52:21 -05: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
Peter Simons
24a69286e9 Merge pull request #23610 from ljli/hs-ghcjs-pkgs-inherit
haskellPackages: apply GHC specific overrides before GHCJS
2017-03-24 23:15:41 +01:00
Maximilian Bosch
73edc1d5f8
phpPackages.composer: 1.3.2 -> 1.4.1 2017-03-24 22:16:10 +01:00
Vladimír Čunát
455ce3528c
Merge branch 'staging' 2017-03-24 21:07:55 +01:00
Shea Levy
9a777013d1 Add setupSystemdUnits function.
Allows setting up and managing a set of systemd units on any systemd distribution.
2017-03-24 15:47:51 -04:00
Vincent Laporte
e3c1e37823 ocamlPackages.ppx_ast: init at 0.9.0
Ppx_ast selects a specific version of the OCaml Abstract Syntax
Tree from the migrate-parsetree project that is not necessarily
the same one as the one being used by the compiler.

Homepage: https://github.com/janestreet/ppx_ast
2017-03-24 19:09:43 +00:00
Bjørn Forsman
6b6454f190
perlPackages.OpenGL: 0.6703 -> 0.70
Fixes https://github.com/NixOS/nixpkgs/issues/19271 ("slic3r gui
fails").
2017-03-24 19:15:20 +01:00
Peter Hoeg
317734f99c speedcrunch: stick to qt 5.7 as 5.8 is broken 2017-03-25 00:39:30 +08:00
Joachim F
5c045afddd Merge pull request #24257 from pjones/pjones/geda-guile
geda: fix build by using guile_2_0 instead of latest ver
2017-03-24 17:39:15 +01:00
Frederik Rietdijk
f4a1eab239 Merge pull request #23863 from plumps/add-vulnix
vulnix: init at 1.2.2
2017-03-24 11:12:50 +01:00
Jörg Thalheim
70322d8b87 pythonPackages.BTrees: 4.1.4 -> 4.3.1 2017-03-24 10:44:34 +01:00
Periklis Tsirakidis
6414533391 darwin: cleanup obsolete sdks 2017-03-24 08:06:03 +01:00
Vincent Laporte
d69e932780 ocamlPackages.ocaml-compiler-libs: init at 0.9.0
This packages exposes the OCaml compiler libraries repackages
under the toplevel names Ocaml_common, Ocaml_bytecomp, ...

Homepage: https://github.com/janestreet/ocaml-compiler-libs
2017-03-24 06:36:41 +00:00
Peter Hoeg
59261f20f0 msr-tools: init at 1.3 2017-03-24 11:46:56 +08:00
Daniel Peebles
a9644fb1f0 Merge pull request #24239 from spacekitteh/fetchFromGitRepo
Added fetchRepoProject
2017-03-23 23:30:07 -04:00
Sophie Taylor
76e095c6c5
fetchRepoProject: init.
Added to grab projects added by git-repo.

Contains some problems still reguarding purity and clone.bundle,
but good enough for now.
2017-03-24 13:28:23 +10:00
Nikolay Amiantov
f45cf10f6e Merge pull request #24133 from abbradar/gtk3-qt
Fix GTK dependencies in wrappers
2017-03-24 01:49:41 +03:00
Peter Jones
7444cad2f6
geda: fix build by using guile_2_0 instead of latest ver
gEDA is failing to build on unstable because of the recent upgrade of
guile.
2017-03-23 15:03:56 -07:00
Robin Gloster
37f7470269
linux: drop 3.12 and 4.1
Support ends before 17.09 is released:
https://www.kernel.org/category/releases.html
2017-03-23 22:06:04 +01:00
Michael Raskin
73a6832ad8 golly: use wxGTK 3.0 2017-03-23 16:45:57 +01:00
Michael Raskin
f9add54f28 fontforge-fonttools: init at 20160404 2017-03-23 15:10:52 +01:00
Vladimír Čunát
c1a9dc3d37
Merge branch 'master' into staging 2017-03-23 13:31:28 +01:00
Vincent Laporte
a81e253369 ocamlPackages.base: init at 0.9.0
Base is a complete and portable alternative to the OCaml standard library.

Homepage: https://github.com/janestreet/base
2017-03-23 06:39:50 +00:00
ndowens
375639518d freicoin: 0.8.3-1 -> 0.8.6-2; Moved to correct category 2017-03-22 17:46:41 -05:00
Richard Lupton
d09ed00e2d
cde: init at 0.1 2017-03-22 22:45:42 +00:00
Nikolay Amiantov
a40b7d07e9 makeQtWrapper, kdeWrapper: add GTK3 dependencies 2017-03-22 20:15:32 +03:00
Nikolay Amiantov
670744e1fa wrapGAppsHook: propagate dconf
It's effectively required for GTK3 applications because various parts of the library use GIO to store settings.

Also propagate GTK for clarity (it should be there anyway).
2017-03-22 20:14:49 +03:00
Michael Raskin
017332fb74 Merge pull request #24212 from FlorentBecker/pijul33
Pijul 0.3.3
2017-03-22 17:46:26 +01:00
Florent Becker
6d7eb3b903 update rust-packages 2017-03-22 17:25:52 +01:00
Periklis Tsirakidis
a92dfe78e9
qcachegrind: init at 16.12.3 2017-03-22 17:18:53 +01:00
Michael Raskin
47183c813e golly-beta: init at 2.9b2 to test GL issues 2017-03-22 17:02:55 +01:00
Piotr Bogdan
77b5d22df3 gmtp: init at 1.3.10 (#24178) 2017-03-22 15:20:16 +01:00
Franz Pletz
1dadbe7e27
pythonPackages.searx: update version bounds of dateutil 2017-03-22 15:05:30 +01:00
Thomas Tuegel
203c4926e3
sddmPlasma5: provide top-level package for theme 2017-03-22 07:44:55 -05:00
Michael Raskin
d2cd304ad7 oneteam: remove 2017-03-22 13:19:38 +01:00
Jörg Thalheim
2793a6c3bb Merge pull request #24106 from calvertvl/add-loccount
loccount: init
2017-03-22 01:02:41 +01:00
Jörg Thalheim
b5b036a4cc Merge pull request #24032 from orivej/gargoyle
gargoyle: init at 2017-03-12
2017-03-22 00:52:15 +01:00
Victor Calvert
4c4b91d54e loccount: init at 1.0 2017-03-21 17:48:35 -04:00
Michael Weiss
b27652148a fwknop: init at 2.6.9
fwknop stands for the "FireWall KNock OPerator", and implements an
authorization scheme called Single Packet Authorization (SPA).
2017-03-21 22:43:00 +01:00
jansol
f9e688e8a1 renderdoc: init at version 0.34pre (#23769)
* renderdoc: init at version 0.34pre

Initialising a few commits after the latest release due to some upstream
improvements to the build system.

* fix maintainer
2017-03-21 21:36:26 +01:00
Jörg Thalheim
da1e8e139f Merge pull request #24151 from volth/far2l
far2l: init at 2.1
2017-03-21 21:17:40 +01:00
Nikolay Amiantov
328bcdae25 mesa: enable texture floats only for drivers
To be on more safe side. This shouldn't matter theoretically as nothing in core
Mesa depends on them.
2017-03-21 21:56:42 +03:00
Vincent Laporte
f61ead6ee2 ocamlPackages.inifiles: init at 1.2
inifiles is a library to read and write .ini files
2017-03-21 18:12:43 +00:00
Volth
a7732d6f54 babelstone-han: init at 9.0.2 2017-03-21 19:11:08 +01:00