3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications
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
..
altcoins primecoin: move to qmake4Hook 2016-04-20 18:55:38 +03:00
audio Merge pull request #15210 from taku0/amarok_pcre 2016-05-04 15:13:45 +02:00
backup Merge pull request #14977 from jerith666/crashplan-46-r3 2016-04-25 20:38:42 +03:00
display-managers lightdm: 1.16.5 -> 1.18.1 (#14834) 2016-04-19 23:06:27 +01:00
editors idea.idea-{community,ultimate}: 2016.1 -> 2016.1.1 2016-05-03 11:01:21 +02:00
gis grass: fix build 2016-04-13 16:20:31 +00:00
graphics imagemagick: libwebp just has to be a propagated input 2016-05-04 17:55:09 +02:00
inferno inferno: 645 -> 785 2016-02-28 20:16:08 +00:00
misc makeself: fix patch to find the makeself header properly 2016-05-04 16:39:24 +00:00
networking chromium/updater: Don't import <nixpkgs> again 2016-05-04 22:35:24 +02:00
office Merge pull request #14533 from matthiasbeyer/add-beancount 2016-04-22 21:34:40 +02:00
science Merge pull request #15214 from taku0/lp_solve_isnan 2016-05-04 20:55:51 +02:00
search Merge branch 'master' into closure-size 2016-04-01 10:06:01 +02:00
taxes Dutch tax office (Belastingdienst) software for entrepreneurs version 2014 2015-10-24 22:10:23 +02:00
version-management gitlab: 8.5.7 -> 8.5.12 2016-05-04 01:24:55 +02:00
video popcorntime: mark as broken 2016-05-03 16:09:36 +02:00
virtualization rkt: 1.2.0 -> 1.4.0 2016-04-23 20:57:19 +02:00
window-managers matchbox: update source urls + libmatchbox: 1.9 -> 1.11 (#15160) 2016-05-02 12:26:32 +02:00