diff options
Diffstat (limited to 'nixos/modules/config/system-path.nix')
-rw-r--r-- | nixos/modules/config/system-path.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index e14e4cf1314..f510b58842e 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -128,7 +128,7 @@ in # !!! Hacky, should modularise. postBuild = '' - if [ -x $out/bin/update-mime-database -a -w $out/share/mime/packages ]; then + if [ -x $out/bin/update-mime-database -a -w $out/share/mime ]; then XDG_DATA_DIRS=$out/share $out/bin/update-mime-database -V $out/share/mime > /dev/null fi |