diff options
| author | aszlig <aszlig@redmoonstudios.org> | 2016-05-04 22:11:50 +0200 |
|---|---|---|
| committer | aszlig <aszlig@redmoonstudios.org> | 2016-05-04 22:35:24 +0200 |
| commit | f28b71023cba59ba819b0978ebffa70e3e4d1785 (patch) | |
| tree | beb1c93c791c6c0a63e73fbed75ef784137ed5aa /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | 0bc713f817e08234a931d1cfee10f908e33dcb88 (diff) | |
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
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
