* Call update-mime-database.
svn path=/nixos/trunk/; revision=22528
This commit is contained in:
parent
b076121430
commit
7123115d6f
@ -91,14 +91,20 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
The packages you want in the boot environment.
|
The packages you want in the boot environment.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
apply = list: pkgs.buildEnv {
|
apply = list: pkgs.buildEnv {
|
||||||
name = "system-path";
|
name = "system-path";
|
||||||
paths = list;
|
paths = list;
|
||||||
|
|
||||||
inherit (cfg) pathsToLink;
|
inherit (cfg) pathsToLink;
|
||||||
|
|
||||||
ignoreCollisions = true;
|
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…
x
Reference in New Issue
Block a user