Commit graph

11643 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
ndowens
5f61654864 Merge pull request #24225 from rlupton20/cde
cde: init at 0.1
2017-03-24 21:52:21 -05:00
ndowens
1e6fd6f901 dar: 2.5.3 -> 2.5.9 2017-03-24 16:06:41 -05:00
Vladimír Čunát
455ce3528c
Merge branch 'staging' 2017-03-24 21:07:55 +01:00
Tobias Geerinckx-Rice
ef69326e99 Merge pull request #23360 from ndowens/pcapc
pcapc: 2015-03.06 -> 1.0.0
2017-03-24 18:44:53 +00: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
Peter Hoeg
f38c4ee775 duplicity: 0.7.07.1 -> 0.7.12 2017-03-24 18:08:05 +08:00
Jörg Thalheim
70322d8b87 pythonPackages.BTrees: 4.1.4 -> 4.3.1 2017-03-24 10:44:34 +01:00
ndowens
16d2799af2 Changed fetchgit to fetchFromGitHub 2017-03-23 18:04:36 -05: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
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
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
Richard Lupton
d09ed00e2d
cde: init at 0.1 2017-03-22 22:45:42 +00:00
Nikolay Amiantov
82f7f8ad9a antimicro: wrap Qt application 2017-03-22 20:15:33 +03:00
Robin Gloster
91e74ed3b2
nixos-container: check for correct path for chattr
Could fail on destroy if the container wasn't created correctly
2017-03-22 15:15:42 +01:00
Robin Gloster
3ac02dfc40
nixos-container: allow _ in container name
fixes #15089
2017-03-22 15:15:41 +01:00
Robin Gloster
9b9416cca4
nixos-container: don't use host's $NIXOS_CONFIG
fixes #22948
2017-03-22 15:15:41 +01:00
c74d
c2ab1fa350 heatseeker: 1.4.0 -> 1.5.1
This patch updates the `heatseeker` package from version 1.4.0 to
version 1.5.1.

I have tested this change per nixpkgs manual section 11.1 ("Making
patches").
2017-03-22 15:09:01 +01:00
Eelco Dolstra
f0875982d1 Merge pull request #24203 from layus/nix-ssl-cert-file
git, curl, openssl: Refactor $NIX_SSL_CERT_FILE handling
2017-03-22 13:40:57 +01:00
Guillaume Maudoux
8ecb94bb97 curl: Use default trust store of TLS backend
Having curl fall back to openssl's CA means that we need not patch curl
to respect NIX_SSL_CERT_FILE. It will work in all the cases.

This reverts commit fb4c43dd8a "curl: Use CA bundle in nix default profile by default"
If we want to reintroduce that feature, this needs to go inside openssl
2017-03-22 11:54:20 +01:00
Guillaume Maudoux
525a663174 curl, git: Fix curl default CA, let git use it
Improve patching of curl to use NIX_SSL_CERT_FILE as default CA
Remove patches from git, as git uses curl and passes its environment
variables to curl.
2017-03-22 11:22:53 +01:00
ndowens
856a7e7646 augeas: 1.7.0 -> 1.8.0 2017-03-21 20:29:47 -05:00
Daniel Peebles
16a0c38324 Merge pull request #24185 from LnL7/atomicparsley-clang
atomicparsley: fix build with llvm 4
2017-03-21 20:24:59 -04:00
Michael Weiss
4e29638323 Revert "gpgme: Drop multiple outputs (dev and info)"
This reverts commit 872770286d.

This will fix fwknop as well (should have done it like this in the first
place, where was my mind...).

Conclusion: Did something stupid... :o - I am *so incredibly sorry*,
will be way more careful (was already careful, but apparently not
enought...) next time and use nox.

Sorry @everyone and thanks @calvertvl for noticing this.
2017-03-21 23:57:57 +01:00
Daiderd Jordan
2676d48ff8
atomicparsley: fix build with llvm 4 2017-03-21 23:35:54 +01: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
Eelco Dolstra
cb49c14324
Revert "nixos-container: Use machinectl shell (#18825)"
This reverts commit
c37e76b4d2. Unfortunately, using
"machinectl shell" has two bad side effects:

* It sends the command's stderr to stdout.

* It doesn't propagate the command's exit status.

This broke NixOps.

PR #18825.
2017-03-21 16:51:08 +01:00
Eelco Dolstra
2cb25f8b59
nix: 1.11.7 -> 1.11.8 2017-03-21 14:49:23 +01:00
Frederik Rietdijk
94eb74eaad Merge remote-tracking branch 'upstream/master' into HEAD 2017-03-21 13:04:37 +01:00
Nikolay Amiantov
8eabb34e5f odroid-xu3-bootloader: use 1MB-capable bootloader
(cherry picked from commit 7d66259a777fd1b1930eca26f08236f657529e25)
2017-03-21 04:23:36 +03:00
Eelco Dolstra
5897aa771c
system-config-printer: Remove -dev paths from closure
Workaround for #24128.
2017-03-20 17:31:26 +01:00
Eelco Dolstra
6dd5846f1b
system-config-printer: Strip binaries in $out/etc
This reduces its closure size from 484 to 281 MiB.
2017-03-20 17:31:19 +01:00
Eelco Dolstra
7c60ba1d41
ibus: Use dev output
This removes glib.dev from the runtime closure, reducing its size from
357 to 253 MiB.
2017-03-20 17:31:14 +01:00
Eelco Dolstra
1824832e17
rtmpdump: Use multiple outputs
This reduces the runtime closure size from 80 to 23 MiB.
2017-03-20 17:31:03 +01:00
Eelco Dolstra
96d7f35e96
diffoscope: Don't propagate build inputs
This reduces the runtime closure size from 297 to 132 MiB.
2017-03-20 17:30:55 +01:00
Nikolay Amiantov
179fe96a03 Merge pull request #24112 from abbradar/odroid
Add ODROID-XU{3,4} support
2017-03-20 17:44:09 +03:00
Robin Gloster
ed59de18b5
fast-neural-doodle: mark as broken 2017-03-20 15:08:10 +01:00
Domen Kožar
c3c9412c7d
git, openssl, curl: Respect $NIX_SSL_CERT_FILE
Slightly modified version of 942dbf89c6
2017-03-20 14:11:20 +01:00
Sander van der Burg
20194e2696 dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring 2017-03-20 10:42:43 +01:00
Nikolay Amiantov
c1e279046b odroid-xu3-bootloader: init at 2015-12-04 2017-03-20 11:52:08 +03:00
Daiderd Jordan
52c6d6770f Merge pull request #24050 from shanemikel/package_htmldoc
htmldoc: add darwin support
2017-03-19 22:39:36 +01:00
Shane Pearlman
fa9400f16f htmldoc: use stdenv.lib.optional instead of stdenv.lib.enable 2017-03-19 14:21:29 -07:00
ndowens
93ec1ad987 highlight: 3.28 -> 3.35 (#24068)
* highlight: 3.28 -> 3.35

highlight: Add support for darwin, suspecting needs gcc

highlight: Fixed isDarwin [gcc]

* highlight: enable darwin build
2017-03-19 15:22:57 -05:00
Pascal Wittmann
e8a395079a
opkg: 0.3.3 -> 0.3.4 2017-03-19 18:42:43 +01:00
Jörg Thalheim
a4c5fc068a
createrepo_c: add missing patches 2017-03-19 16:10:11 +01:00
Jörg Thalheim
1b10483b5e
htmldoc: use sha256 instead of md5 2017-03-19 13:31:13 +01:00
Michael Raskin
8565047bdd kdiff3: fix build 2017-03-19 12:16:32 +01:00
Michael Raskin
e16c5a8254 Merge pull request #24052 from benley/yubikey-manager
yubikey-manager: init at 0.3.1
2017-03-19 11:25:12 +01:00
Jörg Thalheim
d21c647ddb
createrepo_c: fix build
(cc: @copumpkin)
2017-03-19 11:11:43 +01:00