* Call update-mime-database.
svn path=/nixos/trunk/; revision=22528
This commit is contained in:
parent
b076121430
commit
7123115d6f
1 changed files with 8 additions and 2 deletions
|
@ -91,14 +91,20 @@ let
|
|||
description = ''
|
||||
The packages you want in the boot environment.
|
||||
'';
|
||||
|
||||
apply = list: pkgs.buildEnv {
|
||||
name = "system-path";
|
||||
paths = list;
|
||||
|
||||
inherit (cfg) pathsToLink;
|
||||
|
||||
ignoreCollisions = true;
|
||||
postBuild =
|
||||
''
|
||||
if [ -x $out/bin/update-mime-database -a -d $out/share/mime/packages ]; then
|
||||
$out/bin/update-mime-database -V $out/share/mime
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue