astroid: fix crash due to missing icons

Astroid was unable to run in a pure environment because it couldn't find
the necessary icons.  This fixes that issue, and was tested with
`nix-shell --pure`
This commit is contained in:
Brandon Dimcheff 2017-02-08 11:33:07 -05:00 committed by Franz Pletz
parent 72af039a4d
commit c517e54328

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
preFixup = ''
wrapProgram "$out/bin/astroid" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gnome3.adwaita-icon-theme}/share"
'';
meta = {