3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers
aszlig f28b71023c
chromium/updater: Don't import <nixpkgs> again
This effectively resets the attributes given at the point the main
<nixpkgs> is imported and thus for example is also reading in stuff like
~/.nixpkgs/config.nix again, which might lead to unexpected results.

We now only import <nixpkgs> now if the updater is auto-called (like in
update.sh), otherwise the required attributes are passed by callPackage
within the Chromium scope.

I remember noting about this a while ago either on IRC or on GitHub, but
I can't find it right now, so thanks to @obadz for reminding me about
this in #15225.

Tested this by running the updater and also using:

NIXPKGS_CONFIG=$(pwd)/broken.nix nix-instantiate --arg config {} -A chromium

The contents of broken.nix were:

EVALERR{

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #15225
2016-05-04 22:35:24 +02:00
..
arora arora: move to qmake4Hook 2016-04-20 18:55:45 +03:00
chromium chromium/updater: Don't import <nixpkgs> again 2016-05-04 22:35:24 +02:00
conkeror conkeror: 1.0pre-20150730 -> 1.0pre-20160130 2016-04-05 14:34:42 +02:00
dillo
dwb Merge pull request #14742 from mbakke/dwb 2016-04-15 23:12:31 +02:00
elinks
firefox firefox: fix library path 2016-05-01 12:26:39 +03:00
firefox-bin firefox-bin: 45.0.2 -> 46.0.1 2016-05-04 14:50:17 +09:00
google-chrome google-chrome: Also add ${deps}/lib64 to $LD_LIBRARY_PATH. 2016-04-14 19:00:15 +02:00
jumanji Merge branch 'master' into closure-size 2015-12-31 09:53:02 +01:00
kwebkitpart
links2 links: Remove package & deprecate for links2 2016-01-31 11:46:35 +01:00
luakit
lynx lynx: use full version, ‘official’ URI & lib.optionals 2016-03-18 08:03:48 +01:00
midori Merge branch 'master' into closure-size 2016-04-01 10:06:01 +02:00
mozilla-plugins replace ${stdenv.cc.cc}/lib occurences 2016-05-01 00:13:23 +03:00
opera replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
qutebrowser qutebrowser: 0.6.0 -> 0.6.1 2016-04-17 15:38:12 +02:00
rekonq rekonq: fix homepage url 2016-02-16 14:11:36 +00:00
surf Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
uzbl Merge master into closure-size 2016-03-08 09:58:19 +01:00
vimb Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
vimprobable2
vivaldi vivaldi: Clean up 2016-04-29 01:19:15 +00:00
w3m w3m: update to actively maintained debian repo 2016-01-14 13:06:48 +01:00